diff options
author | Chris Lattner <sabre@nondot.org> | 2008-11-18 21:48:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-11-18 21:48:13 +0000 |
commit | 204b2fed909b1eabea7aeb6caadd7cff718edee5 (patch) | |
tree | d8d3acfa6538b35a5d2a896ac44496d1ad16810f /lib/Lex/PreprocessorLexer.cpp | |
parent | 6dc2317b59cb1180a59f6c283d96b7a5dfeb5307 (diff) |
Remove the last of the old-style Preprocessor::Diag methods.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59554 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/PreprocessorLexer.cpp')
-rw-r--r-- | lib/Lex/PreprocessorLexer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Lex/PreprocessorLexer.cpp b/lib/Lex/PreprocessorLexer.cpp index 3c5d81b8a7..20bce413b7 100644 --- a/lib/Lex/PreprocessorLexer.cpp +++ b/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 |