summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/PrintPreprocessedOutput.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-03-13 06:19:24 +0000
committerCraig Topper <craig.topper@gmail.com>2014-03-13 06:19:24 +0000
commit34d8e21d3213d8dd17f819566c9c7f0c225a11a0 (patch)
tree39210c10954dc352adeea0a2dcd831cfa57aa090 /clang/lib/Frontend/PrintPreprocessedOutput.cpp
parentafa7cb3aa58fa52f0ceb5f687e7f1523838a353a (diff)
downloadbcm5719-llvm-34d8e21d3213d8dd17f819566c9c7f0c225a11a0.tar.gz
bcm5719-llvm-34d8e21d3213d8dd17f819566c9c7f0c225a11a0.zip
Remove unreachable PragmaCaptured method. It's not a real PPCallback.
llvm-svn: 203759
Diffstat (limited to 'clang/lib/Frontend/PrintPreprocessedOutput.cpp')
-rw-r--r--clang/lib/Frontend/PrintPreprocessedOutput.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/clang/lib/Frontend/PrintPreprocessedOutput.cpp b/clang/lib/Frontend/PrintPreprocessedOutput.cpp
index b7b03f99ae2..349401ae4ea 100644
--- a/clang/lib/Frontend/PrintPreprocessedOutput.cpp
+++ b/clang/lib/Frontend/PrintPreprocessedOutput.cpp
@@ -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(SourceLocation Loc, const std::string &S) {
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) {
OpenPOWER on IntegriCloud