Searched refs:WantDiagnostics (Results 1 – 10 of 10) sorted by relevance
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | TUSchedulerTests.cpp | 96 llvm::StringRef Contents, WantDiagnostics WD, in updateWithCallback() 103 WantDiagnostics WD, in updateWithCallback() 146 WantDiagnostics WD, in updateWithDiags() 159 WantDiagnostics WD, in updateWithDiags() 181 S.update(Added, getInputs(Added, "x"), WantDiagnostics::No); in TEST_F() 214 TEST_F(TUSchedulerTests, WantDiagnostics) { in TEST_F() argument 222 updateWithDiags(S, Path, "", WantDiagnostics::Yes, in TEST_F() 224 updateWithDiags(S, Path, "request diags", WantDiagnostics::Yes, in TEST_F() 226 updateWithDiags(S, Path, "auto (clobbered)", WantDiagnostics::Auto, in TEST_F() 231 updateWithDiags(S, Path, "request no diags", WantDiagnostics::No, in TEST_F() [all …]
|
D | SyncAPI.h | 27 WantDiagnostics WantDiags = WantDiagnostics::Auto,
|
D | SyncAPI.cpp | 17 WantDiagnostics WantDiags, bool ForceRebuild) { in runAddDocument()
|
D | XRefsTests.cpp | 1343 WantDiagnostics::No); in TEST() 1354 WantDiagnostics::Yes); in TEST()
|
D | CodeCompleteTests.cpp | 1674 Server.addDocument(FooCpp, Source.code(), "null", WantDiagnostics::Yes); in TEST()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | TUScheduler.cpp | 233 std::vector<Diag> CIDiags, WantDiagnostics WantDiags) { in update() 250 return !NextReq || NextReq->WantDiags != WantDiagnostics::Yes; in update() 324 WantDiagnostics WantDiags; 388 void update(ParseInputs Inputs, WantDiagnostics); 403 std::vector<Diag> CIDiags, WantDiagnostics WantDiags); 436 llvm::Optional<WantDiagnostics> UpdateType, 452 llvm::Optional<WantDiagnostics> UpdateType; 601 void ASTWorker::update(ParseInputs Inputs, WantDiagnostics WantDiags) { in update() 769 WantDiagnostics WantDiags) { in updatePreamble() 797 if (WantDiags == WantDiagnostics::No) in updatePreamble() [all …]
|
D | TUScheduler.h | 49 enum class WantDiagnostics { enum 232 bool update(PathRef File, ParseInputs Inputs, WantDiagnostics WD);
|
D | ClangdServer.h | 183 WantDiagnostics WD = WantDiagnostics::Auto,
|
D | ClangdLSPServer.cpp | 669 WantDiagnostics::Yes); in onDocumentDidOpen() 674 auto WantDiags = WantDiagnostics::Auto; in onDocumentDidChange() 676 WantDiags = Params.wantDiagnostics.getValue() ? WantDiagnostics::Yes in onDocumentDidChange() 677 : WantDiagnostics::No; in onDocumentDidChange() 1705 WantDiagnostics::Auto); in reparseOpenFilesIfNeeded()
|
D | ClangdServer.cpp | 203 WantDiagnostics WantDiags, bool ForceRebuild) { in addDocument()
|