summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Tooling
diff options
context:
space:
mode:
authorEdwin Vane <edwin.vane@intel.com>2013-05-30 13:59:44 +0000
committerEdwin Vane <edwin.vane@intel.com>2013-05-30 13:59:44 +0000
commit3a331f3da4d2154fefd905bac31d859def65b7c2 (patch)
tree3a067143b18d3ccddb15747a9a803867ca495378 /clang/unittests/Tooling
parentc0b42a257d64745019465aa3d62785265a8ca144 (diff)
downloadbcm5719-llvm-3a331f3da4d2154fefd905bac31d859def65b7c2.tar.gz
bcm5719-llvm-3a331f3da4d2154fefd905bac31d859def65b7c2.zip
Coding style fix for SourceFileCallbacks
llvm-svn: 182930
Diffstat (limited to 'clang/unittests/Tooling')
-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