]> granicus.if.org Git - clang/commit
remove the NumericLiteralParser::Diag helper method, inlining it into
authorChris Lattner <sabre@nondot.org>
Sat, 22 Nov 2008 07:23:31 +0000 (07:23 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 22 Nov 2008 07:23:31 +0000 (07:23 +0000)
commitac92d829111bc19d1cc97cd85c3c04bc39b969d1
tree147f8b9da9feacaa2c9ec48e1c3d23af430d8566
parentadc4eeb08042a35ae914fc557ffec0cef3df2374
remove the NumericLiteralParser::Diag helper method, inlining it into
its call sites.  This makes it more explicit when the hasError flag is
getting set and removes a confusing difference in behavior between
PP.Diag and Diag in this code.

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