diff options
Diffstat (limited to 'clang/lib/Lex/PreprocessorLexer.cpp')
-rw-r--r-- | clang/lib/Lex/PreprocessorLexer.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/Lex/PreprocessorLexer.cpp b/clang/lib/Lex/PreprocessorLexer.cpp index 1916f29..6e47962 100644 --- a/clang/lib/Lex/PreprocessorLexer.cpp +++ b/clang/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; } |