]> granicus.if.org Git - clang/commit
Add some missing checks for C++1y digit separators that don't in fact separate
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 22 Apr 2014 23:50:25 +0000 (23:50 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 22 Apr 2014 23:50:25 +0000 (23:50 +0000)
commit431393eb9155517fa0579ce59c2e6a24f708f005
treefb843cbcac6490995e48f8a55b83c700761125d4
parente75dc3bcc44a28cc42706c516b614ee5c0406196
Add some missing checks for C++1y digit separators that don't in fact separate
digits. Turns out we have completely separate lexing codepaths for floating
point numbers depending on whether or not they start with a zero. Who knew...
=)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206932 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/LiteralSupport.cpp
test/Lexer/cxx1y_digit_separators.cpp