diff options
Diffstat (limited to 'lib/Lex/Preprocessor.cpp')
-rw-r--r-- | lib/Lex/Preprocessor.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/lib/Lex/Preprocessor.cpp b/lib/Lex/Preprocessor.cpp index 2fe84c96bc..1f9df50db3 100644 --- a/lib/Lex/Preprocessor.cpp +++ b/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) << "'"; |