diff options
Diffstat (limited to 'clang/Driver/TextDiagnostics.cpp')
| -rw-r--r-- | clang/Driver/TextDiagnostics.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/Driver/TextDiagnostics.cpp b/clang/Driver/TextDiagnostics.cpp index 5b14cdda821..46e535de903 100644 --- a/clang/Driver/TextDiagnostics.cpp +++ b/clang/Driver/TextDiagnostics.cpp @@ -40,7 +40,8 @@ std::string TextDiagnostics::FormatDiagnostic(Diagnostic &Diags, } bool TextDiagnostics::IgnoreDiagnostic(Diagnostic::Level Level, - SourceLocation Pos) { + SourceLocation Pos, + SourceManager& SourceMgr) { if (Pos.isValid()) { // If this is a warning or note, and if it a system header, suppress the // diagnostic. |

