Files
llvm/test/MC/AsmParser
Eli Friedman 589b088809 [MC] Fix floating-point literal lexing.
This patch has three related fixes to improve float literal lexing:

1. Make AsmLexer::LexDigit handle floats without a decimal point more
   consistently.
2. Make AsmLexer::LexFloatLiteral print an error for floats which are
   apparently missing an "e".
3. Make APFloat::convertFromString use binutils-compatible exponent
   parsing.

Together, this fixes some cases where a float would be incorrectly
rejected, fixes some cases where the compiler would crash, and improves
diagnostics in some cases.

Patch by Brandon Jones.

Differential Revision: https://reviews.llvm.org/D57321



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@357214 91177308-0d34-0410-b5e6-96231b3b80d8
2019-03-28 21:12:28 +00:00
..
2017-05-01 14:00:54 +00:00
2014-02-23 23:02:18 +00:00
2015-03-18 14:20:54 +00:00
2016-03-01 08:18:28 +00:00
2016-03-01 08:18:28 +00:00
2017-03-22 14:04:19 +00:00
2015-05-22 21:37:13 +00:00
2009-10-16 16:30:02 +00:00