Home
last modified time | relevance | path

Searched defs:VerifyEndCallback (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/clang/unittests/Tooling/
H A DToolingTest.cpp428 struct VerifyEndCallback : public SourceFileCallbacks { struct
429 VerifyEndCallback() : BeginCalled(0), EndCalled(0), Matched(false) {} in VerifyEndCallback() argument
430 bool handleBeginSource(CompilerInstance &CI) override { in handleBeginSource()
434 void handleEndSource() override { ++EndCalled; } in handleEndSource()
435 std::unique_ptr<ASTConsumer> newASTConsumer() { in newASTConsumer()
438 unsigned BeginCalled;
439 unsigned EndCalled;
440 bool Matched;