summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/PreprocessorLexer.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-11-18 21:48:13 +0000
committerChris Lattner <sabre@nondot.org>2008-11-18 21:48:13 +0000
commite05c4dfc42cd4389f606e404a4a2ec1990d94b8e (patch)
tree38ee87aab06313bd8ba4d4eed6963bd19e6c3174 /clang/lib/Lex/PreprocessorLexer.cpp
parentf5125d19e7b466a76a5471286ad2e3d038f8cf86 (diff)
downloadbcm5719-llvm-e05c4dfc42cd4389f606e404a4a2ec1990d94b8e.tar.gz
bcm5719-llvm-e05c4dfc42cd4389f606e404a4a2ec1990d94b8e.zip
Remove the last of the old-style Preprocessor::Diag methods.
llvm-svn: 59554
Diffstat (limited to 'clang/lib/Lex/PreprocessorLexer.cpp')
-rw-r--r--clang/lib/Lex/PreprocessorLexer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/PreprocessorLexer.cpp b/clang/lib/Lex/PreprocessorLexer.cpp
index 3c5d81b8a71..20bce413b74 100644
--- a/clang/lib/Lex/PreprocessorLexer.cpp
+++ b/clang/lib/Lex/PreprocessorLexer.cpp
@@ -24,7 +24,7 @@ void PreprocessorLexer::Diag(SourceLocation Loc, unsigned DiagID,
const std::string &Msg) const {
if (LexingRawMode && Diagnostic::isBuiltinNoteWarningOrExtension(DiagID))
return;
- PP->Diag(Loc, DiagID, Msg);
+ PP->Diag(Loc, DiagID) << Msg;
}
/// LexIncludeFilename - After the preprocessor has parsed a #include, lex and
OpenPOWER on IntegriCloud