Lines Matching refs:Tool
226 ClangTool Tool(Compilations, Sources); in TEST() local
228 Tool.mapVirtualFile("/a.cc", "void a() {}"); in TEST()
229 Tool.mapVirtualFile("/b.cc", "void b() {}"); in TEST()
233 Tool.run(Action.get()); in TEST()
337 ClangTool Tool(Compilations, std::vector<std::string>(1, "/a.cc")); in TEST() local
338 Tool.mapVirtualFile("/a.cc", "void a() {}"); in TEST()
352 Tool.appendArgumentsAdjuster(CheckSyntaxOnlyAdjuster); in TEST()
353 Tool.run(Action.get()); in TEST()
358 Tool.clearArgumentsAdjusters(); in TEST()
359 Tool.appendArgumentsAdjuster(CheckSyntaxOnlyAdjuster); in TEST()
360 Tool.appendArgumentsAdjuster(getClangSyntaxOnlyAdjuster()); in TEST()
361 Tool.run(Action.get()); in TEST()
453 ClangTool Tool(Compilations, Sources); in TEST() local
455 Tool.mapVirtualFile("/a.cc", "void a() {}"); in TEST()
456 Tool.mapVirtualFile("/b.cc", "void b() {}"); in TEST()
459 EXPECT_EQ(0, Tool.buildASTs(ASTs)); in TEST()
474 ClangTool Tool(Compilations, std::vector<std::string>(1, "/a.cc")); in TEST() local
475 Tool.mapVirtualFile("/a.cc", "int x = undeclared;"); in TEST()
477 Tool.setDiagnosticConsumer(&Consumer); in TEST()
480 Tool.run(Action.get()); in TEST()
486 ClangTool Tool(Compilations, std::vector<std::string>(1, "/a.cc")); in TEST() local
487 Tool.mapVirtualFile("/a.cc", "int x = undeclared;"); in TEST()
489 Tool.setDiagnosticConsumer(&Consumer); in TEST()
491 Tool.buildASTs(ASTs); in TEST()