Lines Matching refs:CDB
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()
249 OverlayCDB CDB(/*Base=*/nullptr); in TEST_F() local
250 BackgroundIndex Idx(FS, CDB, [&](llvm::StringRef) { return &MSS; }, in TEST_F()
257 CDB.setCompileCommand(testPath("root/A.cc"), Cmd); in TEST_F()
271 OverlayCDB CDB(/*Base=*/nullptr); in TEST_F() local
275 FS, CDB, [&](llvm::StringRef) { return &MSS; }, Opts); in TEST_F()
281 CDB.setCompileCommand(testPath("root/A.cc"), Cmd); in TEST_F()
315 OverlayCDB CDB(/*Base=*/nullptr); in TEST_F() local
316 BackgroundIndex Idx(FS, CDB, [&](llvm::StringRef) { return &MSS; }, in TEST_F()
318 CDB.setCompileCommand(testPath("root/A.cc"), Cmd); in TEST_F()
325 OverlayCDB CDB(/*Base=*/nullptr); in TEST_F() local
326 BackgroundIndex Idx(FS, CDB, [&](llvm::StringRef) { return &MSS; }, in TEST_F()
328 CDB.setCompileCommand(testPath("root/A.cc"), Cmd); in TEST_F()
384 OverlayCDB CDB(/*Base=*/nullptr); in TEST_F() local
385 BackgroundIndex Idx(FS, CDB, [&](llvm::StringRef) { return &MSS; }, in TEST_F()
387 CDB.setCompileCommand(testPath("root/A.cc"), Cmd); in TEST_F()
434 OverlayCDB CDB(/*Base=*/nullptr); in TEST_F() local
435 BackgroundIndex Idx(FS, CDB, [&](llvm::StringRef) { return &MSS; }, in TEST_F()
437 CDB.setCompileCommand(testPath("root/A.cc"), Cmd); in TEST_F()
449 OverlayCDB CDB(/*Base=*/nullptr); in TEST_F() local
450 BackgroundIndex Idx(FS, CDB, [&](llvm::StringRef) { return &MSS; }, in TEST_F()
452 CDB.setCompileCommand(testPath("root/A.cc"), Cmd); in TEST_F()
467 OverlayCDB CDB(/*Base=*/nullptr); in TEST_F() local
468 BackgroundIndex Idx(FS, CDB, [&](llvm::StringRef) { return &MSS; }, in TEST_F()
470 CDB.setCompileCommand(testPath("root/A.cc"), Cmd); in TEST_F()
508 OverlayCDB CDB(/*Base=*/nullptr); in TEST_F() local
509 BackgroundIndex Idx(FS, CDB, [&](llvm::StringRef) { return &MSS; }, in TEST_F()
511 CDB.setCompileCommand(testPath("root/A.cc"), Cmd); in TEST_F()
524 OverlayCDB CDB(/*Base=*/nullptr); in TEST_F() local
525 BackgroundIndex Idx(FS, CDB, [&](llvm::StringRef) { return &MSS; }, in TEST_F()
527 CDB.setCompileCommand(testPath("root/A.cc"), Cmd); in TEST_F()
540 OverlayCDB CDB(/*Base=*/nullptr); in TEST_F() local
541 BackgroundIndex Idx(FS, CDB, [&](llvm::StringRef) { return &MSS; }, in TEST_F()
543 CDB.setCompileCommand(testPath("root/A.cc"), Cmd); in TEST_F()
558 OverlayCDB CDB(/*Base=*/nullptr); in TEST_F() local
559 BackgroundIndex Idx(FS, CDB, [&](llvm::StringRef) { return &MSS; }, in TEST_F()
568 CDB.setCompileCommand(testPath("root/build/../A.cc"), Cmd); in TEST_F()
575 CDB.setCompileCommand(testPath("root/./B.cc"), Cmd); in TEST_F()
589 OverlayCDB CDB(/*Base=*/nullptr); in TEST_F() local
590 BackgroundIndex Idx(FS, CDB, [&](llvm::StringRef) { return &MSS; }, in TEST_F()
607 CDB.setCompileCommand(testPath("build/../A.cc"), Cmd); in TEST_F()
652 OverlayCDB CDB(/*Base=*/nullptr); in TEST_F() local
653 BackgroundIndex Idx(FS, CDB, [&](llvm::StringRef) { return &MSS; }, in TEST_F()
662 CDB.setCompileCommand(testPath("build/../A.cc"), Cmd); in TEST_F()
678 CDB.setCompileCommand(testPath("build/../A.cc"), Cmd); in TEST_F()
882 MockCompilationDatabase CDB; in TEST() local
883 BackgroundIndex Idx(FS, CDB, [](llvm::StringRef) { return nullptr; }, in TEST()