• Home
  • Raw
  • Download

Lines Matching refs:CDB

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()
371 MockCompilationDatabase CDB; in TEST() local
382 ClangdServer Server(CDB, FS, ClangdServer::optsForTest(), &Callbacks); in TEST()
393 MockCompilationDatabase CDB; in TEST() local
394 CDB.ExtraClangFlags.insert(CDB.ExtraClangFlags.end(), in TEST()
398 ClangdServer Server(CDB, FS, ClangdServer::optsForTest(), &DiagConsumer); in TEST()
442 MockCompilationDatabase CDB; in TEST() local
443 ClangdServer Server(CDB, FS, ClangdServer::optsForTest(), &DiagConsumer); in TEST()
458 CDB.ExtraClangFlags = {"-xc"}; in TEST()
465 CDB.ExtraClangFlags = {"-xc++"}; in TEST()
478 MockCompilationDatabase CDB; in TEST() local
479 ClangdServer Server(CDB, FS, ClangdServer::optsForTest(), &DiagConsumer); in TEST()
492 CDB.ExtraClangFlags = {"-DWITH_ERROR"}; in TEST()
497 CDB.ExtraClangFlags = {}; in TEST()
529 MockCompilationDatabase CDB; in TEST() local
531 ClangdServer Server(CDB, FS, ClangdServer::optsForTest(), &DiagConsumer); in TEST()
541 CDB.ExtraClangFlags = {"-DMACRO=1"}; in TEST()
556 CDB.ExtraClangFlags.clear(); in TEST()
582 MockCompilationDatabase CDB; in TEST() local
583 ClangdServer Server(CDB, FS, ClangdServer::optsForTest(), &DiagConsumer); in TEST()
618 MockCompilationDatabase CDB; in TEST() local
620 ClangdServer Server(CDB, FS, ClangdServer::optsForTest(), &DiagConsumer); in TEST()
626 CDB.ExtraClangFlags.push_back(FooCpp); in TEST()
733 MockCompilationDatabase CDB; in TEST() local
734 ClangdServer Server(CDB, FS, ClangdServer::optsForTest(), &DiagConsumer); in TEST()
916 MockCompilationDatabase CDB; in TEST() local
917 ClangdServer Server(CDB, FS, ClangdServer::optsForTest(), &DiagConsumer); in TEST()
928 MockCompilationDatabase CDB; in TEST() local
929 ClangdServer Server(CDB, FS, ClangdServer::optsForTest(), &DiagConsumer); in TEST()
957 MockCompilationDatabase CDB; in TEST() local
958 ClangdServer Server(CDB, FS, ClangdServer::optsForTest(), &DiagConsumer); in TEST()
969 CDB.ExtraClangFlags.push_back("-xc++"); in TEST()
970 CDB.ExtraClangFlags.push_back("-isystem" + testPath("headers")); in TEST()
1034 MockCompilationDatabase CDB; in TEST() local
1035 ClangdServer Server(CDB, FS, ClangdServer::optsForTest(), &DiagConsumer); in TEST()
1063 MockCompilationDatabase CDB; in TEST() local
1064 ClangdServer Server(CDB, FS, ClangdServer::optsForTest(), &DiagConsumer); in TEST()
1079 CDB.ExtraClangFlags = {"yolo.cc"}; in TEST()
1090 CDB.ExtraClangFlags = {"-std=c++11"}; in TEST()
1134 DelayedCompilationDatabase CDB(CanReturnCommand); in TEST() local
1135 ClangdServer Server(CDB, FS, ClangdServer::optsForTest(), &DiagConsumer); in TEST()
1166 OverlayCDB CDB(/*Base=*/nullptr); in TEST() local
1168 ClangdServer Server(CDB, FS, ClangdServer::optsForTest()); in TEST()
1186 MockCompilationDatabase CDB; in TEST() local
1187 ClangdServer Server(CDB, FS, ClangdServer::optsForTest(), &DiagConsumer); in TEST()
1224 MockCompilationDatabase CDB; in TEST() local
1229 CDB.ExtraClangFlags = {"-xc++"}; in TEST()
1232 ClangdServer Server(CDB, FS, Opts, &DiagConsumer); in TEST()
1248 MockCompilationDatabase CDB; in TEST() local
1249 ClangdServer Server(CDB, FS, ClangdServer::optsForTest()); in TEST()