]> granicus.if.org Git - clang/commit
Change the Lexer::Diag method to not magically silence warnings,
authorChris Lattner <sabre@nondot.org>
Sat, 22 Nov 2008 02:02:22 +0000 (02:02 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 22 Nov 2008 02:02:22 +0000 (02:02 +0000)
commit74d15dfd183b2082e8a5d4dfbf66bd861b220901
tree7f763bac3fc14211443f61a56cca19c3017638bf
parenta4f34eaab2c8b32582af339279d5dc9ba648174c
Change the Lexer::Diag method to not magically silence warnings,
force the caller to check instead.  This eliminates the need (and the
risk!) of weird null DiagnosticBuilder's floating around.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59856 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Diagnostic.h
include/clang/Lex/PreprocessorLexer.h
lib/Lex/Lexer.cpp
lib/Lex/PreprocessorLexer.cpp