diff options
author | Chris Lattner <sabre@nondot.org> | 2008-11-20 06:06:08 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-11-20 06:06:08 +0000 |
commit | d3a94e24ddf3fb90de76b17bd176d9ed61e66f2c (patch) | |
tree | d55ad18f3559a2da9836895aaf9d80bb33263015 /lib/Sema/Sema.cpp | |
parent | 572af49cc0052931e7b06902d99c72f04b75704e (diff) |
remove another old-school Diag method.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59712 91177308-0d34-0410-b5e6-96231b3b80d8
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(); } |