]> granicus.if.org Git - clang/commit
when emitting diagnostics about some character in a numeric
authorChris Lattner <sabre@nondot.org>
Sun, 20 Apr 2008 18:41:46 +0000 (18:41 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 20 Apr 2008 18:41:46 +0000 (18:41 +0000)
commit0b7f69d789ca1f76582ee9a336e25861fd0c1416
tree48b89010906dccd794512ece9422686628c5d4de
parent4c13b7a3973d2d263d9682d7b68fbfeb76334af5
when emitting diagnostics about some character in a numeric
literal, indicate what character the error is about or where
it would be.  For example:

pr2241.c:1:17: error: exponent has no digits
float f[] = { 1e  , 1ee0 };
                ^

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