Searched refs:testRoot (Results 1 – 15 of 15) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | TestFS.cpp | 38 MemFS->setCurrentWorkingDirectory(testRoot()); in buildTestFS() 86 const char *testRoot() { in testRoot() function 100 llvm::sys::path::append(Path, Style, testRoot(), NativeFile); in testPath() 114 if (!HintPath.empty() && !pathStartsWith(testRoot(), HintPath)) in getAbsolutePath() 116 testRoot(), HintPath); in getAbsolutePath() 126 if (!pathConsumeFront(AbsolutePath, testRoot())) in uriFromAbsolutePath() 127 return error("{0} does not start with {1}", AbsolutePath, testRoot()); in uriFromAbsolutePath()
|
| H A D | GlobalCompilationDatabaseTests.cpp | 60 testRoot(), File, {"clang", std::string(Arg), std::string(File)}, ""); in cmd() 79 return ProjectInfo{testRoot()}; in getProjectInfo() 243 Cfg.CompileFlags.CDBSearch.FixedCDBPath = testRoot(); in TEST() 276 Opts.CompileCommandsDir = testRoot(); in TEST() 400 llvm::SmallString<128> Root(testRoot()); in TEST() 406 llvm::SmallString<128> File(testRoot()); in TEST() 418 EXPECT_EQ(DB.getProjectInfo(File)->SourceRoot, testRoot()); in TEST_F() 419 EXPECT_EQ(DB.getProjectInfo(Header)->SourceRoot, testRoot()); in TEST_F() 423 EXPECT_EQ(DB.getProjectInfo(File)->SourceRoot, testRoot()); in TEST_F() 424 EXPECT_EQ(DB.getProjectInfo(Header)->SourceRoot, testRoot()); in TEST_F() [all …]
|
| H A D | TestFS.h | 76 const char *testRoot();
|
| H A D | StdLibTests.cpp | 69 OriginalInputs.CompileCommand.Directory = testRoot(); in TEST()
|
| H A D | ConfigCompileTests.cpp | 159 Frag.Source.Directory = testRoot(); in TEST_F() 467 Frag = GetFrag(testRoot(), "foo/"); in TEST_F()
|
| H A D | TestTU.cpp | 64 Inputs.CompileCommand.Directory = testRoot(); in inputs()
|
| H A D | SymbolCollectorTests.cpp | 1288 CollectorOpts.FallbackDir = testRoot(); in TEST_F() 1614 /*ExtraArgs=*/{"-I", testRoot()}); in TEST_F() 1639 /*ExtraArgs=*/{"-I", testRoot()}); in TEST_F() 1655 /*ExtraArgs=*/{"-I", testRoot()}); in TEST_F()
|
| H A D | IndexActionTests.cpp | 87 "-iquote", testRoot()};
|
| H A D | IncludeCleanerTests.cpp | 339 TU.ExtraArgs = {"-isystem", testRoot()}; in TEST()
|
| H A D | FileIndexTests.cpp | 282 PI.CompileCommand.Directory = testRoot(); in TEST() 635 IF.Cmd = tooling::CompileCommand(testRoot(), "b.cc", {"clang"}, "out"); in TEST()
|
| H A D | RenameTests.cpp | 1205 TU.ExtraArgs = {"-isystem", testRoot()}; in TEST()
|
| H A D | BackgroundIndexTests.cpp | 125 Cmd.Directory = testRoot(); in TEST_F()
|
| H A D | ClangdTests.cpp | 64 Location{URIForFile::canonicalize(File, testRoot()), Range};
|
| H A D | XRefsTests.cpp | 47 return Location{URIForFile::canonicalize(File, testRoot()), Range} == arg;
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/tweaks/ |
| H A D | TweakTests.cpp | 43 MemFS->setCurrentWorkingDirectory(testRoot()); in TEST()
|