summaryrefslogtreecommitdiff
path: root/include/llvm/MC/MCParser/AsmLexer.h
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2013-08-14 14:23:31 +0000
committerTim Northover <tnorthover@apple.com>2013-08-14 14:23:31 +0000
commit337439d12d2e2a9e820e0aeee261bbdb935fc0a5 (patch)
tree605c854f4db448fa58f7d806c204947745dbfe60 /include/llvm/MC/MCParser/AsmLexer.h
parent79663c1910ebf9bda8f758388eaa3171fb9a5134 (diff)
downloadllvm-337439d12d2e2a9e820e0aeee261bbdb935fc0a5.tar.gz
llvm-337439d12d2e2a9e820e0aeee261bbdb935fc0a5.tar.bz2
llvm-337439d12d2e2a9e820e0aeee261bbdb935fc0a5.tar.xz
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/AsmLexer.h')
-rw-r--r--include/llvm/MC/MCParser/AsmLexer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/MC/MCParser/AsmLexer.h b/include/llvm/MC/MCParser/AsmLexer.h
index 0dab31489f..1b3ab57751 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