[PATCH] D41834: [Lex] Fix handling numerical literals ending with ' and signed exponent.

Volodymyr Sapsai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 8 17:57:57 PST 2018


vsapsai planned changes to this revision.
vsapsai added a comment.

Yep, the plan sounds reasonable. I also noticed that we have

  if (*s == '+' || *s == '-')  s++; // sign

code in `NumericLiteralParser::ParseNumberStartingWithZero` too. I plan to make the same change for hexadecimal numbers and check the behaviour in debugger.


https://reviews.llvm.org/D41834





More information about the cfe-commits mailing list