r203759 - Remove unreachable PragmaCaptured method. It's not a real PPCallback.
Craig Topper
craig.topper at gmail.com
Wed Mar 12 23:19:25 PDT 2014
Author: ctopper
Date: Thu Mar 13 01:19:24 2014
New Revision: 203759
URL: http://llvm.org/viewvc/llvm-project?rev=203759&view=rev
Log:
Remove unreachable PragmaCaptured method. It's not a real PPCallback.
Modified:
cfe/trunk/lib/Frontend/PrintPreprocessedOutput.cpp
Modified: cfe/trunk/lib/Frontend/PrintPreprocessedOutput.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/PrintPreprocessedOutput.cpp?rev=203759&r1=203758&r2=203759&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/PrintPreprocessedOutput.cpp (original)
+++ cfe/trunk/lib/Frontend/PrintPreprocessedOutput.cpp Thu Mar 13 01:19:24 2014
@@ -133,7 +133,6 @@ public:
StringRef SearchPath, StringRef RelativePath,
const Module *Imported) override;
void Ident(SourceLocation Loc, const std::string &str) override;
- virtual void PragmaCaptured(SourceLocation Loc, StringRef Str);
void PragmaMessage(SourceLocation Loc, StringRef Namespace,
PragmaMessageKind Kind, StringRef Str) override;
void PragmaDebug(SourceLocation Loc, StringRef DebugType) override;
@@ -346,15 +345,6 @@ void PrintPPOutputPPCallbacks::Ident(Sou
EmittedTokensOnThisLine = true;
}
-void PrintPPOutputPPCallbacks::PragmaCaptured(SourceLocation Loc,
- StringRef Str) {
- startNewLineIfNeeded();
- MoveToLine(Loc);
- OS << "#pragma captured";
-
- setEmittedDirectiveOnThisLine();
-}
-
/// MacroDefined - This hook is called whenever a macro definition is seen.
void PrintPPOutputPPCallbacks::MacroDefined(const Token &MacroNameTok,
const MacroDirective *MD) {
More information about the cfe-commits
mailing list