Home
last modified time | relevance | path

Searched refs:WantDiagnostics (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/unittests/
DTUSchedulerTests.cpp96 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 …]
DSyncAPI.h27 WantDiagnostics WantDiags = WantDiagnostics::Auto,
DSyncAPI.cpp17 WantDiagnostics WantDiags, bool ForceRebuild) { in runAddDocument()
DXRefsTests.cpp1343 WantDiagnostics::No); in TEST()
1354 WantDiagnostics::Yes); in TEST()
DCodeCompleteTests.cpp1674 Server.addDocument(FooCpp, Source.code(), "null", WantDiagnostics::Yes); in TEST()
/external/llvm-project/clang-tools-extra/clangd/
DTUScheduler.cpp233 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 …]
DTUScheduler.h49 enum class WantDiagnostics { enum
232 bool update(PathRef File, ParseInputs Inputs, WantDiagnostics WD);
DClangdServer.h183 WantDiagnostics WD = WantDiagnostics::Auto,
DClangdLSPServer.cpp669 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()
DClangdServer.cpp203 WantDiagnostics WantDiags, bool ForceRebuild) { in addDocument()