|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/clang/tools/extra/unittests/clang-tidy/ClangTidyDiagnosticConsumerTest.cpp 26 runCheckOnCode<TestCheck>("int a;", &Errors);
tools/clang/tools/extra/unittests/clang-tidy/GoogleModuleTest.cpp 25 runCheckOnCode<ExplicitConstructorCheck>("class C { C(int i); };"));
30 runCheckOnCode<ExplicitConstructorCheck>(
36 runCheckOnCode<ExplicitConstructorCheck>(
44 runCheckOnCode<ExplicitConstructorCheck>(
54 runCheckOnCode<ExplicitConstructorCheck>(
72 test::runCheckOnCode<readability::GlobalNamesInHeadersCheck>(
tools/clang/tools/extra/unittests/clang-tidy/IncludeInserterTest.cpp 119 return test::runCheckOnCode<Check>(Code, &Errors, Filename, None,
tools/clang/tools/extra/unittests/clang-tidy/LLVMModuleTest.cpp 17 std::string Result = test::runCheckOnCode<LLVMHeaderGuardCheck>(
39 std::string Result = test::runCheckOnCode<WithEndifComment>(
tools/clang/tools/extra/unittests/clang-tidy/NamespaceAliaserTest.cpp 60 test::runCheckOnCode<Check>(Code, &errors, "foo.cc", None,
tools/clang/tools/extra/unittests/clang-tidy/ObjCModuleTest.cpp 21 runCheckOnCode<ForbiddenSubclassingCheck>(
33 runCheckOnCode<ForbiddenSubclassingCheck>(
tools/clang/tools/extra/unittests/clang-tidy/OverlappingReplacementsTest.cpp 153 EXPECT_EQ(CharFix, runCheckOnCode<UseCharCheck>(Code));
176 EXPECT_EQ(IfFix, runCheckOnCode<IfFalseCheck>(Code));
201 EXPECT_EQ(StartsFix, runCheckOnCode<StartsWithPotaCheck>(Code));
226 EXPECT_EQ(EndsFix, runCheckOnCode<EndsWithTatoCheck>(Code));
246 Res = runCheckOnCode<UseCharCheck, IfFalseCheck>(Code);
256 Res = runCheckOnCode<StartsWithPotaCheck, EndsWithTatoCheck>(Code);
266 Res = runCheckOnCode<UseCharCheck, IfFalseCheck, StartsWithPotaCheck,
296 Res = runCheckOnCode<UseCharCheck, IfFalseCheck>(Code);
298 Res = runCheckOnCode<IfFalseCheck, UseCharCheck>(Code);
322 Res = runCheckOnCode<IfFalseCheck, StartsWithPotaCheck>(Code);
324 Res = runCheckOnCode<StartsWithPotaCheck, IfFalseCheck>(Code);
351 Res = runCheckOnCode<UseCharCheck, IfFalseCheck, StartsWithPotaCheck>(Code);
353 Res = runCheckOnCode<StartsWithPotaCheck, IfFalseCheck, UseCharCheck>(Code);
383 Res = runCheckOnCode<IfFalseCheck, StartsWithPotaCheck>(Code);
402 Res = runCheckOnCode<StartsWithPotaCheck, EndsWithTatoCheck>(Code);
tools/clang/tools/extra/unittests/clang-tidy/ReadabilityModuleTest.cpp 15 runCheckOnCode<NamespaceCommentCheck>("namespace i {\n}"));
17 runCheckOnCode<NamespaceCommentCheck>("namespace {\n}"));
19 runCheckOnCode<NamespaceCommentCheck>(
26 runCheckOnCode<NamespaceCommentCheck>("namespace i { namespace j { } }"));
33 runCheckOnCode<NamespaceCommentCheck>(
38 runCheckOnCode<NamespaceCommentCheck>("namespace {\n"
42 runCheckOnCode<NamespaceCommentCheck>("namespace {\n"
46 runCheckOnCode<NamespaceCommentCheck>("namespace {\n"
50 runCheckOnCode<NamespaceCommentCheck>("namespace {\n"
55 runCheckOnCode<NamespaceCommentCheck>("namespace q {\n"
60 runCheckOnCode<NamespaceCommentCheck>("namespace My_NameSpace123 {\n"
65 runCheckOnCode<NamespaceCommentCheck>("namespace My_NameSpace123 {\n"
69 runCheckOnCode<NamespaceCommentCheck>(
76 runCheckOnCode<NamespaceCommentCheck>("namespace {\n"
86 runCheckOnCode<NamespaceCommentCheck>(
91 runCheckOnCode<NamespaceCommentCheck>("namespace {\n"
97 runCheckOnCode<NamespaceCommentCheck>("namespace {\n"
114 runCheckOnCode<BracesAroundStatementsCheck>(
130 runCheckOnCode<BracesAroundStatementsCheck>(
161 runCheckOnCode<BracesAroundStatementsCheck>("int main() {\n"
170 runCheckOnCode<BracesAroundStatementsCheck>(
186 runCheckOnCode<BracesAroundStatementsCheck>(
197 runCheckOnCode<BracesAroundStatementsCheck>("int main() {\n"
212 runCheckOnCode<BracesAroundStatementsCheck>("int main() {\n"
229 runCheckOnCode<BracesAroundStatementsCheck>("int main() {\n"
250 runCheckOnCode<BracesAroundStatementsCheck>(
265 runCheckOnCode<BracesAroundStatementsCheck>(
284 runCheckOnCode<BracesAroundStatementsCheck>("int main() {\n"
293 runCheckOnCode<BracesAroundStatementsCheck>("int main() {\n"
302 runCheckOnCode<BracesAroundStatementsCheck>("int main() {\n"
324 runCheckOnCode<BracesAroundStatementsCheck>("int main() {\n"
344 runCheckOnCode<BracesAroundStatementsCheck>("int main() {\n"
362 runCheckOnCode<BracesAroundStatementsCheck>("int main() {\n"
371 runCheckOnCode<BracesAroundStatementsCheck>(
381 runCheckOnCode<BracesAroundStatementsCheck>(
391 runCheckOnCode<BracesAroundStatementsCheck>("int main() {\n"
400 runCheckOnCode<BracesAroundStatementsCheck>("int main() {\n"
409 runCheckOnCode<BracesAroundStatementsCheck>("int main() {\n"
419 runCheckOnCode<BracesAroundStatementsCheck>(
426 runCheckOnCode<BracesAroundStatementsCheck>(
440 runCheckOnCode<BracesAroundStatementsCheck>("int main() {\n"
472 runCheckOnCode<BracesAroundStatementsCheck>("#define DO_IT ++i\n"
500 runCheckOnCode<BracesAroundStatementsCheck>(Input));
tools/clang/tools/extra/unittests/clang-tidy/TransformerClangTidyCheckTest.cpp 67 EXPECT_EQ(Expected, test::runCheckOnCode<IfInverterCheck>(Input));
91 EXPECT_EQ(Expected, test::runCheckOnCode<IntLitCheck>(Input));
117 EXPECT_EQ(Expected, test::runCheckOnCode<BinOpCheck>(Input));
139 test::runCheckOnCode<NeedsObjCCheck>(Input, nullptr, "input.cc"));
142 test::runCheckOnCode<NeedsObjCCheck>(Input, nullptr, "input.mm"));
167 EXPECT_EQ(Input, test::runCheckOnCode<ConfigurableCheck>(
171 EXPECT_EQ(Expected, test::runCheckOnCode<ConfigurableCheck>(
205 test::runCheckOnCode<IncludeCheck<IncludeFormat::Quoted>>(Input));
221 test::runCheckOnCode<IncludeCheck<IncludeFormat::Angled>>(Input));
tools/clang/tools/extra/unittests/clang-tidy/UsingInserterTest.cpp 64 test::runCheckOnCode<Check>(Code, &errors, "foo.cc", None,