aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/Sema.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-11-20 06:13:02 +0000
committerChris Lattner <sabre@nondot.org>2008-11-20 06:13:02 +0000
commit5dc266abe0e8de69788ba67e38047a919f4bc383 (patch)
treed688b23cb846dfa23eeb3fe53af4eef9b316ff98 /lib/Sema/Sema.cpp
parentd3a94e24ddf3fb90de76b17bd176d9ed61e66f2c (diff)
remove another old Diag method.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59713 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/Sema.cpp')
-rw-r--r--lib/Sema/Sema.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/Sema/Sema.cpp b/lib/Sema/Sema.cpp
index 063399aee7..a72d15dbe8 100644
--- a/lib/Sema/Sema.cpp
+++ b/lib/Sema/Sema.cpp
@@ -167,12 +167,6 @@ bool Sema::Diag(SourceLocation Loc, unsigned DiagID, const std::string &Msg) {
return true;
}
-bool Sema::Diag(SourceLocation Loc, unsigned DiagID, const std::string &Msg1,
- const std::string &Msg2) {
- PP.getDiagnostics().Report(PP.getFullLoc(Loc), DiagID) << Msg1 << Msg2;
- return true;
-}
-
const LangOptions &Sema::getLangOptions() const {
return PP.getLangOptions();
}