diff options
author | Tim Northover <tnorthover@apple.com> | 2013-08-14 14:23:31 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2013-08-14 14:23:31 +0000 |
commit | 337439d12d2e2a9e820e0aeee261bbdb935fc0a5 (patch) | |
tree | 605c854f4db448fa58f7d806c204947745dbfe60 /include/llvm/MC/MCParser | |
parent | 79663c1910ebf9bda8f758388eaa3171fb9a5134 (diff) | |
download | external_llvm-337439d12d2e2a9e820e0aeee261bbdb935fc0a5.zip external_llvm-337439d12d2e2a9e820e0aeee261bbdb935fc0a5.tar.gz external_llvm-337439d12d2e2a9e820e0aeee261bbdb935fc0a5.tar.bz2 |
Support C99 hexadecimal floating-point literals in assembly
It's useful to be able to write down floating-point numbers without having to
worry about what they'll be rounded to (as C99 discovered), this extends that
ability to the MC assembly parsers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188370 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCParser')
-rw-r--r-- | include/llvm/MC/MCParser/AsmLexer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/MC/MCParser/AsmLexer.h b/include/llvm/MC/MCParser/AsmLexer.h index 0dab314..1b3ab57 100644 --- a/include/llvm/MC/MCParser/AsmLexer.h +++ b/include/llvm/MC/MCParser/AsmLexer.h @@ -63,6 +63,7 @@ private: AsmToken LexSingleQuote(); AsmToken LexQuote(); AsmToken LexFloatLiteral(); + AsmToken LexHexFloatLiteral(bool NoIntDigits); }; } // end namespace llvm |