Home
last modified time | relevance | path

Searched refs:TestCode (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/clang-tools-extra/unittests/clang-move/
DClangMoveTests.cpp312 const char TestCode[] = "#include \"foo.h\""; in TEST() local
319 auto Results = runClangMoveOnCode(Spec, TestHeader, TestCode); in TEST()
398 const char TestCode[] = "#include \"foo.h\""; in TEST() local
411 auto Results = runClangMoveOnCode(Spec, Header.c_str(), TestCode); in TEST()
421 const char TestCode[] = "#include \"foo.h\"\n" in TEST() local
431 auto Results = runClangMoveOnCode(Spec, TestHeader, TestCode); in TEST()
440 const char TestCode[] = "#include \"foo.h\"\n" in TEST() local
453 auto Results = runClangMoveOnCode(Spec, TestHeader, TestCode); in TEST()
492 const std::string TestCode = "#include \"foo.h\"\n" + CommonCode; in TEST() local
507 auto Results = runClangMoveOnCode(Spec, TestHeader.c_str(), TestCode.c_str()); in TEST()
[all …]
/external/llvm-project/clang-tools-extra/unittests/clang-include-fixer/
DIncludeFixerTest.cpp303 const char TestCode[] = R"( in TEST() local
362 EXPECT_EQ(ExpectedCode, runIncludeFixer(TestCode)); in TEST()
/external/llvm-project/clang-tools-extra/clangd/unittests/
DCodeCompleteTests.cpp2024 Annotations TestCode(Text); in TEST() local
2025 TU.Code = TestCode.code().str(); in TEST()
2026 auto Results = completions(TU, TestCode.point()); in TEST()
2032 TestCode.range()); in TEST()