citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit dc3073751b36790b7fdf170076e58fa085095f48
parent f0db8270dd0305ecaf64e2f94fa0010188b898fa
Author: kyle <kyle@getaddrinfo.net>
Date:   Fri, 25 Mar 2016 12:14:29 -0600

instrument: fix up on older llvm

Diffstat:
Minstrument/instrument_action.cc | 2+-
Minstrument/instrument_action.h | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/instrument/instrument_action.cc b/instrument/instrument_action.cc @@ -16,7 +16,7 @@ clang::ASTConsumer * -InstrumentAction::CreateASTConsumer(clang::CompilerInstance &CI, StringRef file) +InstrumentAction::CreateASTConsumer(clang::CompilerInstance &CI, clang::StringRef file) { // llvm::errs() << "** Creating AST consumer for: " << file << "\n"; clang::SourceManager &sm = CI.getSourceManager(); diff --git a/instrument/instrument_action.h b/instrument/instrument_action.h @@ -10,7 +10,7 @@ public: InstrumentAction() {}; void EndSourceFileAction() override; - clang::ASTConsumer *CreateASTConsumer(clang::CompilerInstance &, StringRef) override; + clang::ASTConsumer *CreateASTConsumer(clang::CompilerInstance &, clang::StringRef) override; private: clang::Rewriter TheRewriter;