diff options
Diffstat (limited to 'lib/Sema/Sema.cpp')
-rw-r--r-- | lib/Sema/Sema.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/Sema/Sema.cpp b/lib/Sema/Sema.cpp index c9e4cd9833..063399aee7 100644 --- a/lib/Sema/Sema.cpp +++ b/lib/Sema/Sema.cpp @@ -173,12 +173,6 @@ bool Sema::Diag(SourceLocation Loc, unsigned DiagID, const std::string &Msg1, return true; } -bool Sema::Diag(SourceLocation Loc, unsigned DiagID, const std::string &Msg, - const SourceRange& Range) { - PP.getDiagnostics().Report(PP.getFullLoc(Loc), DiagID) << Msg << Range; - return true; -} - const LangOptions &Sema::getLangOptions() const { return PP.getLangOptions(); } |