summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Tooling/ToolingTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/unittests/Tooling/ToolingTest.cpp')
-rw-r--r--clang/unittests/Tooling/ToolingTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/unittests/Tooling/ToolingTest.cpp b/clang/unittests/Tooling/ToolingTest.cpp
index a7b94319184..d96366dcd58 100644
--- a/clang/unittests/Tooling/ToolingTest.cpp
+++ b/clang/unittests/Tooling/ToolingTest.cpp
@@ -133,12 +133,12 @@ TEST(ToolInvocation, TestMapVirtualFile) {
struct VerifyEndCallback : public SourceFileCallbacks {
VerifyEndCallback() : BeginCalled(0), EndCalled(0), Matched(false) {}
- virtual bool BeginSource(CompilerInstance &CI,
- StringRef Filename) LLVM_OVERRIDE {
+ virtual bool handleBeginSource(CompilerInstance &CI,
+ StringRef Filename) LLVM_OVERRIDE {
++BeginCalled;
return true;
}
- virtual void EndSource() {
+ virtual void handleEndSource() {
++EndCalled;
}
ASTConsumer *newASTConsumer() {
OpenPOWER on IntegriCloud