summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/Preprocessor.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-11-18 21:48:13 +0000
committerChris Lattner <sabre@nondot.org>2008-11-18 21:48:13 +0000
commite05c4dfc42cd4389f606e404a4a2ec1990d94b8e (patch)
tree38ee87aab06313bd8ba4d4eed6963bd19e6c3174 /clang/lib/Lex/Preprocessor.cpp
parentf5125d19e7b466a76a5471286ad2e3d038f8cf86 (diff)
downloadbcm5719-llvm-e05c4dfc42cd4389f606e404a4a2ec1990d94b8e.tar.gz
bcm5719-llvm-e05c4dfc42cd4389f606e404a4a2ec1990d94b8e.zip
Remove the last of the old-style Preprocessor::Diag methods.
llvm-svn: 59554
Diffstat (limited to 'clang/lib/Lex/Preprocessor.cpp')
-rw-r--r--clang/lib/Lex/Preprocessor.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/clang/lib/Lex/Preprocessor.cpp b/clang/lib/Lex/Preprocessor.cpp
index 2fe84c96bcf..1f9df50db3c 100644
--- a/clang/lib/Lex/Preprocessor.cpp
+++ b/clang/lib/Lex/Preprocessor.cpp
@@ -126,30 +126,6 @@ DiagnosticInfo Preprocessor::Diag(const Token &Tok, unsigned DiagID) {
return Diags.Report(getFullLoc(Tok.getLocation()), DiagID);
}
-
-void Preprocessor::Diag(SourceLocation Loc, unsigned DiagID,
- const std::string &Msg) {
- Diags.Report(getFullLoc(Loc), DiagID) << Msg;
-}
-
-void Preprocessor::Diag(SourceLocation Loc, unsigned DiagID,
- const std::string &Msg,
- const SourceRange &R1, const SourceRange &R2) {
- Diags.Report(getFullLoc(Loc), DiagID) << Msg << R1 << R2;
-}
-
-
-void Preprocessor::Diag(SourceLocation Loc, unsigned DiagID,
- const SourceRange &R) {
- Diags.Report(getFullLoc(Loc), DiagID) << R;
-}
-
-void Preprocessor::Diag(SourceLocation Loc, unsigned DiagID,
- const SourceRange &R1, const SourceRange &R2) {
- Diags.Report(getFullLoc(Loc), DiagID) << R1 << R2;
-}
-
-
void Preprocessor::DumpToken(const Token &Tok, bool DumpFlags) const {
llvm::cerr << tok::getTokenName(Tok.getKind()) << " '"
<< getSpelling(Tok) << "'";
OpenPOWER on IntegriCloud