/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | BackgroundIndexTests.cpp | 99 OverlayCDB CDB(/*Base=*/nullptr); in TEST_F() local 100 BackgroundIndex Idx(FS, CDB, [&](llvm::StringRef) { return &MSS; }, in TEST_F() 107 CDB.setCompileCommand(testPath("root/A.cc"), Cmd); in TEST_F() 146 OverlayCDB CDB(/*Base=*/nullptr, /*FallbackFlags=*/{}, in TEST_F() local 150 FS, CDB, [&](llvm::StringRef) { return &MSS; }, std::move(Opts)); in TEST_F() 154 CDB.setCompileCommand(FullPath, std::move(Cmd)); in TEST_F() 190 OverlayCDB CDB(/*Base=*/nullptr); in TEST_F() local 194 FS, CDB, [&](llvm::StringRef) { return &MSS; }, Opts); in TEST_F() 200 CDB.setCompileCommand(testPath("root/A.cc"), Cmd); in TEST_F() 212 CDB.setCompileCommand(testPath("root/B.cc"), Cmd); in TEST_F() [all …]
|
D | ClangdTests.cpp | 175 MockCompilationDatabase CDB; local 176 ClangdServer Server(CDB, FS, ClangdServer::optsForTest(), &DiagConsumer); 227 MockCompilationDatabase CDB; in TEST() local 228 ClangdServer Server(CDB, FS, ClangdServer::optsForTest(), &DiagConsumer); in TEST() 262 MockCompilationDatabase CDB; in TEST() local 263 ClangdServer Server(CDB, FS, ClangdServer::optsForTest(), &DiagConsumer); in TEST() 315 MockCompilationDatabase CDB; in TEST() local 318 ClangdServer Server(CDB, FS, ClangdServer::optsForTest(), &Callbacks); in TEST() 352 OverlayCDB CDB(/*Base=*/nullptr, /*FallbackFlags=*/{}, in TEST() local 355 ClangdServer Server(CDB, FS, Opts); in TEST() [all …]
|
D | GlobalCompilationDatabaseTests.cpp | 89 OverlayCDB CDB(Base.get()); in TEST_F() local 90 EXPECT_THAT(CDB.getCompileCommand(testPath("foo.cc"))->CommandLine, in TEST_F() 92 EXPECT_EQ(CDB.getCompileCommand(testPath("missing.cc")), llvm::None); in TEST_F() 95 CDB.setCompileCommand(testPath("foo.cc"), Override); in TEST_F() 96 EXPECT_THAT(CDB.getCompileCommand(testPath("foo.cc"))->CommandLine, in TEST_F() 98 EXPECT_EQ(CDB.getCompileCommand(testPath("missing.cc")), llvm::None); in TEST_F() 99 CDB.setCompileCommand(testPath("missing.cc"), Override); in TEST_F() 100 EXPECT_THAT(CDB.getCompileCommand(testPath("missing.cc"))->CommandLine, in TEST_F() 105 OverlayCDB CDB(Base.get(), {"-DA=4"}); in TEST_F() local 106 EXPECT_THAT(CDB.getFallbackCommand(testPath("bar.cc")).CommandLine, in TEST_F() [all …]
|
D | TUSchedulerTests.cpp | 88 Inputs.CompileCommand = *CDB.getCompileCommand(File); in getInputs() 166 MockCompilationDatabase CDB; member in clang::clangd::__anon3472546f0111::TUSchedulerTests 173 TUScheduler S(CDB, optsForTest()); in TEST_F() 220 TUScheduler S(CDB, optsForTest(), captureDiags()); in TEST_F() 249 TUScheduler S(CDB, Opts, captureDiags()); in TEST_F() 282 TUScheduler S(CDB, optsForTest(), captureDiags()); in TEST_F() 339 TUScheduler S(CDB, optsForTest(), captureDiags()); in TEST_F() 363 TUScheduler S(CDB, optsForTest(), captureDiags()); in TEST_F() 434 TUScheduler S(CDB, Opts, captureDiags()); in TEST_F() 543 TUScheduler S(CDB, Opts); in TEST_F() [all …]
|
D | HeadersTests.cpp | 38 CDB.ExtraClangFlags = {SearchDirArg.c_str()}; in HeadersTest() 46 auto Cmd = CDB.getCompileCommand(MainFile); in setupClang() 97 CDB.getCompileCommand(MainFile)->Directory, 116 CDB.getCompileCommand(MainFile)->Directory, in insert() 124 MockCompilationDatabase CDB; member in clang::clangd::__anon375945a30111::HeadersTest 217 CDB.ExtraClangFlags.push_back("-fno-ms-compatibility"); in TEST_F() 245 CDB.ExtraClangFlags = {SearchDirArg.c_str()}; in TEST_F() 325 CDB.ExtraClangFlags = {"-include", testPath(HeaderFile)}; in TEST_F()
|
D | HeaderSourceSwitchTests.cpp | 253 MockCompilationDatabase CDB; in TEST() local 254 CDB.ExtraClangFlags = {"-I" + in TEST() 268 ClangdServer Server(CDB, FS, Options); in TEST()
|
D | SemanticSelectionTests.cpp | 171 MockCompilationDatabase CDB; in TEST() local 172 ClangdServer Server(CDB, FS, ClangdServer::optsForTest()); in TEST()
|
D | CodeCompleteTests.cpp | 839 MockCompilationDatabase CDB; in TEST() local 842 ClangdServer Server(CDB, FS, Opts); in TEST() 874 MockCompilationDatabase CDB; in TEST() local 877 ClangdServer Server(CDB, FS, Opts); in TEST() 934 MockCompilationDatabase CDB; in TEST() local 939 ClangdServer Server(CDB, FS, Opts); in TEST() 1664 MockCompilationDatabase CDB; in TEST() local 1665 ClangdServer Server(CDB, FS, ClangdServer::optsForTest()); in TEST() 1749 MockCompilationDatabase CDB; in TEST() local 1753 ClangdServer Server(CDB, FS, ClangdServer::optsForTest()); in TEST() [all …]
|
D | RenameTests.cpp | 1123 MockCompilationDatabase CDB; in TEST() local 1124 ClangdServer Server(CDB, FS, ServerOpts); in TEST() 1307 MockCompilationDatabase CDB; in TEST() local 1308 CDB.ExtraClangFlags = {"-xc++"}; in TEST() 1486 ClangdServer Server(CDB, FS, ServerOpts); in TEST()
|
D | XRefsTests.cpp | 1198 MockCompilationDatabase CDB(BuildDir, RelPathPrefix); in TEST() local 1201 ClangdServer Server(CDB, FS, ClangdServer::optsForTest()); in TEST() 1240 MockCompilationDatabase CDB; in TEST() local 1241 ClangdServer Server(CDB, FS, ClangdServer::optsForTest()); in TEST() 1321 MockCompilationDatabase CDB; in TEST() local 1322 ClangdServer Server(CDB, FS, ClangdServer::optsForTest()); in TEST()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | GlobalCompilationDatabase.cpp | 94 std::shared_ptr<tooling::CompilationDatabase> CDB; member in clang::clangd::DirectoryBasedGlobalCompilationDatabase::DirectoryCache 116 auto RequestBroadcast = llvm::make_scope_exit([&, OldCDB(CDB.get())] { in get() 118 if (CDB != nullptr && CDB.get() != OldCDB) in get() 120 else if (CDB == nullptr) // nothing to broadcast anymore! in get() 131 return CDB; in get() 132 assert(CDB == nullptr); in get() 137 if (!CDB) in get() 139 return CDB; in get() 148 CDB = tooling::CompilationDatabase::loadFromDirectory(Path, Error); in load() 149 if (!CDB) { in load() [all …]
|
D | TUScheduler.cpp | 370 ASTWorker(PathRef FileName, const GlobalCompilationDatabase &CDB, 381 const GlobalCompilationDatabase &CDB, 466 const GlobalCompilationDatabase &CDB; member in clang::clangd::__anon5c4233ba0311::ASTWorker 557 const GlobalCompilationDatabase &CDB, in create() argument 563 FileName, CDB, IdleASTs, Barrier, /*RunSync=*/!Tasks, Opts, Callbacks)); in create() 574 ASTWorker::ASTWorker(PathRef FileName, const GlobalCompilationDatabase &CDB, in ASTWorker() argument 579 FileName(FileName), ContextProvider(Opts.ContextProvider), CDB(CDB), in ASTWorker() 587 FileInputs.CompileCommand = CDB.getFallbackCommand(FileName); in ASTWorker() 609 if (auto Cmd = CDB.getCompileCommand(FileName)) in update() 613 Inputs.CompileCommand = CDB.getFallbackCommand(FileName); in update() [all …]
|
D | TUScheduler.h | 206 TUScheduler(const GlobalCompilationDatabase &CDB, const Options &Opts, 319 const GlobalCompilationDatabase &CDB;
|
/external/llvm-project/clang/unittests/Tooling/ |
D | DependencyScannerTest.cpp | 81 FixedCompilationDatabase CDB(CWD, Compilation); in TEST() local 98 ClangTool Tool(CDB, {"test.cpp"}, std::make_shared<PCHContainerOperations>(), in TEST() 130 FixedCompilationDatabase CDB(CWD, Compilation); in TEST() local 153 ClangTool Tool(CDB, {"test.cpp", "test2.cpp"}, in TEST() 172 FixedCompilationDatabase CDB(CWD, Compilation); in TEST() local 190 ClangTool Tool(CDB, {"test.cpp", "test.cpp"}, in TEST()
|
/external/llvm-project/clang-tools-extra/clangd/index/ |
D | Background.cpp | 95 const ThreadsafeFS &TFS, const GlobalCompilationDatabase &CDB, in BackgroundIndex() argument 97 : SwapIndex(std::make_unique<MemIndex>()), TFS(TFS), CDB(CDB), in BackgroundIndex() 104 CDB.watch([&](const std::vector<std::string> &ChangedFiles) { in BackgroundIndex() 163 auto Cmd = CDB.getCompileCommand(Path); in indexFileTask() 366 loadIndexShards(MainFiles, IndexStorageFactory, CDB); in loadProject()
|
D | Background.h | 148 BackgroundIndex(const ThreadsafeFS &, const GlobalCompilationDatabase &CDB, 195 const GlobalCompilationDatabase &CDB; variable
|
D | BackgroundIndexLoader.h | 49 const GlobalCompilationDatabase &CDB);
|
/external/llvm-project/clang-tools-extra/clangd/tool/ |
D | Check.cpp | 103 auto CDB = std::make_unique<OverlayCDB>( in buildCommand() local 107 if (auto TrueCmd = CDB->getCompileCommand(File)) { in buildCommand() 111 Cmd = CDB->getFallbackCommand(File); in buildCommand()
|
/external/llvm-project/llvm/test/CodeGen/SystemZ/ |
D | fp-cmp-02.ll | 24 ; Check the low end of the CDB range. 38 ; Check the high end of the aligned CDB range. 86 ; Check that CDB allows indices. 103 ; Check that comparisons of spilled values can use CDB rather than CDBR. 175 ; Check the comparison can be reversed if that allows CDB to be used,
|
D | fp-strict-cmp-02.ll | 27 ; Check the low end of the CDB range. 44 ; Check the high end of the aligned CDB range. 101 ; Check that CDB allows indices. 121 ; Check that comparisons of spilled values can use CDB rather than CDBR. 229 ; Check the comparison can be reversed if that allows CDB to be used,
|
/external/llvm/test/CodeGen/SystemZ/ |
D | fp-cmp-02.ll | 24 ; Check the low end of the CDB range. 38 ; Check the high end of the aligned CDB range. 86 ; Check that CDB allows indices. 103 ; Check that comparisons of spilled values can use CDB rather than CDBR. 175 ; Check the comparison can be reversed if that allows CDB to be used,
|
/external/llvm-project/clang/lib/Tooling/DependencyScanning/ |
D | DependencyScanningWorker.cpp | 185 const CompilationDatabase &CDB, DependencyConsumer &Consumer) { in computeDependencies() argument 191 tooling::ClangTool Tool(CDB, Input, PCHContainerOps, RealFS, Files); in computeDependencies()
|
/external/llvm-project/clang/include/clang/Tooling/DependencyScanning/ |
D | DependencyScanningWorker.h | 63 const CompilationDatabase &CDB,
|
/external/llvm-project/debuginfo-tests/win_cdb-tests/ |
D | README.txt | 8 An example header for a CDB test, of which there are currently none:
|
/external/kernel-headers/original/uapi/linux/ |
D | cciss_defs.h | 104 BYTE CDB[16]; member
|