diff options
Diffstat (limited to 'lib/Lex/PreprocessorLexer.cpp')
-rw-r--r-- | lib/Lex/PreprocessorLexer.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Lex/PreprocessorLexer.cpp b/lib/Lex/PreprocessorLexer.cpp index 1916f298db..6e479625e0 100644 --- a/lib/Lex/PreprocessorLexer.cpp +++ b/lib/Lex/PreprocessorLexer.cpp @@ -28,8 +28,6 @@ PreprocessorLexer::~PreprocessorLexer() {} void PreprocessorLexer::Diag(SourceLocation Loc, unsigned DiagID, const std::string &Msg) const { - if (LexingRawMode && Diagnostic::isBuiltinNoteWarningOrExtension(DiagID)) - return; PP->Diag(Loc, DiagID) << Msg; } |