Lines Matching defs:Code
53 bool runChecker(StringRef Code, std::string &Output) {
54 return runCheckerOnCode<addDescriptiveNameChecker>(Code.str(), Output,
59 StringRef Code = R"cpp(
68 ASSERT_TRUE(runChecker(Code, Output));
73 StringRef Code = R"cpp(
82 ASSERT_TRUE(runChecker(Code, Output));
87 StringRef Code = R"cpp(
96 ASSERT_TRUE(runChecker(Code, Output));
101 StringRef Code = R"cpp(
110 ASSERT_TRUE(runChecker(Code, Output));
115 StringRef Code = R"cpp(
124 ASSERT_TRUE(runChecker(Code, Output));
130 StringRef Code = R"cpp(
140 ASSERT_TRUE(runChecker(Code, Output));
146 StringRef Code = R"cpp(
155 ASSERT_TRUE(runChecker(Code, Output));
160 StringRef Code = R"cpp(
169 ASSERT_TRUE(runChecker(Code, Output));