Home
last modified time | relevance | path

Searched refs:DiagConsumer (Results 1 – 13 of 13) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/unittests/
DClangdTests.cpp174 ErrorCheckingCallbacks DiagConsumer; local
176 ClangdServer Server(CDB, FS, ClangdServer::optsForTest(), &DiagConsumer);
185 EXPECT_EQ(ExpectErrors, DiagConsumer.hadErrorInLastDiags());
226 ErrorCheckingCallbacks DiagConsumer; in TEST() local
228 ClangdServer Server(CDB, FS, ClangdServer::optsForTest(), &DiagConsumer); in TEST()
243 EXPECT_FALSE(DiagConsumer.hadErrorInLastDiags()); in TEST()
248 EXPECT_FALSE(DiagConsumer.hadErrorInLastDiags()); in TEST()
253 EXPECT_FALSE(DiagConsumer.hadErrorInLastDiags()); in TEST()
261 ErrorCheckingCallbacks DiagConsumer; in TEST() local
263 ClangdServer Server(CDB, FS, ClangdServer::optsForTest(), &DiagConsumer); in TEST()
[all …]
/external/llvm-project/clang/include/clang/Tooling/
DTooling.h82 DiagnosticConsumer *DiagConsumer) = 0;
99 DiagnosticConsumer *DiagConsumer) override;
229 DiagnosticConsumer *DiagConsumer = nullptr);
264 void setDiagnosticConsumer(DiagnosticConsumer *DiagConsumer) { in setDiagnosticConsumer() argument
265 this->DiagConsumer = DiagConsumer; in setDiagnosticConsumer()
284 DiagnosticConsumer *DiagConsumer = nullptr; variable
319 void setDiagnosticConsumer(DiagnosticConsumer *DiagConsumer) { in setDiagnosticConsumer() argument
320 this->DiagConsumer = DiagConsumer; in setDiagnosticConsumer()
382 DiagnosticConsumer *DiagConsumer = nullptr; variable
DStandaloneExecution.h63 void setDiagnosticConsumer(DiagnosticConsumer *DiagConsumer) { in setDiagnosticConsumer() argument
64 Tool.setDiagnosticConsumer(DiagConsumer); in setDiagnosticConsumer()
/external/clang/include/clang/Tooling/
DTooling.h74 DiagnosticConsumer *DiagConsumer) = 0;
90 DiagnosticConsumer *DiagConsumer) override;
243 void setDiagnosticConsumer(DiagnosticConsumer *DiagConsumer) { in setDiagnosticConsumer() argument
244 this->DiagConsumer = DiagConsumer; in setDiagnosticConsumer()
274 DiagnosticConsumer *DiagConsumer; variable
302 void setDiagnosticConsumer(DiagnosticConsumer *DiagConsumer) { in setDiagnosticConsumer() argument
303 this->DiagConsumer = DiagConsumer; in setDiagnosticConsumer()
349 DiagnosticConsumer *DiagConsumer; variable
/external/clang/lib/Tooling/
DTooling.cpp216 DiagConsumer(nullptr) {} in ToolInvocation()
224 DiagConsumer(nullptr) {} in ToolInvocation()
247 DiagConsumer ? DiagConsumer : &DiagnosticPrinter, false); in run()
286 DiagConsumer); in runInvocation()
292 DiagnosticConsumer *DiagConsumer) { in runInvocation() argument
304 Compiler.createDiagnostics(DiagConsumer, /*ShouldOwnClient=*/false); in runInvocation()
324 DiagConsumer(nullptr) { in ClangTool()
444 Invocation.setDiagnosticConsumer(DiagConsumer); in run()
471 DiagnosticConsumer *DiagConsumer) override { in runInvocation() argument
475 DiagConsumer, in runInvocation()
/external/llvm-project/clang-tools-extra/unittests/clang-tidy/
DClangTidyTest.h98 ClangTidyDiagnosticConsumer DiagConsumer(Context);
100 &DiagConsumer, false);
138 Invocation.setDiagnosticConsumer(&DiagConsumer);
141 for (const auto &Error : DiagConsumer.take()) {
148 std::vector<ClangTidyError> Diags = DiagConsumer.take();
DClangTidyOptionsTest.cpp169 ClangTidyDiagnosticConsumer DiagConsumer(Context); in TEST() local
171 &DiagConsumer, false); in TEST()
198 ClangTidyDiagnosticConsumer DiagConsumer(Context); in TEST() local
200 &DiagConsumer, false); in TEST()
/external/llvm-project/clang/lib/Tooling/
DTooling.cpp336 DiagConsumer ? DiagConsumer : &DiagnosticPrinter, false); in run()
372 std::move(PCHContainerOps), DiagConsumer); in runInvocation()
378 DiagnosticConsumer *DiagConsumer) { in runInvocation() argument
390 Compiler.createDiagnostics(DiagConsumer, /*ShouldOwnClient=*/false); in runInvocation()
547 Invocation.setDiagnosticConsumer(DiagConsumer); in run()
578 DiagnosticConsumer *DiagConsumer) override { in runInvocation() argument
582 DiagConsumer, in runInvocation()
622 DiagnosticConsumer *DiagConsumer) { in buildASTFromCodeWithArgs() argument
636 Invocation.setDiagnosticConsumer(DiagConsumer); in buildASTFromCodeWithArgs()
/external/llvm-project/clang/unittests/StaticAnalyzer/
DCheckerRegistration.h22 class DiagConsumer : public PathDiagnosticConsumer {
26 DiagConsumer(llvm::raw_ostream &Output) : Output(Output) {} in DiagConsumer() function
63 AnalysisConsumer->AddDiagnosticConsumer(new DiagConsumer(DiagsOutput)); in CreateASTConsumer()
/external/llvm-project/clang-tools-extra/clang-tidy/plugin/
DClangTidyPlugin.cpp43 auto DiagConsumer = in CreateASTConsumer() local
46 new DiagnosticIDs, new DiagnosticOptions, DiagConsumer); in CreateASTConsumer()
/external/llvm-project/clang-tools-extra/clang-tidy/
DClangTidy.cpp532 ClangTidyDiagnosticConsumer DiagConsumer(Context); in runClangTidy() local
534 &DiagConsumer, /*ShouldOwnClient=*/false); in runClangTidy()
536 Tool.setDiagnosticConsumer(&DiagConsumer); in runClangTidy()
550 DiagnosticConsumer *DiagConsumer) override { in runClangTidy() argument
554 Invocation, Files, PCHContainerOps, DiagConsumer); in runClangTidy()
575 return DiagConsumer.take(); in runClangTidy()
/external/llvm-project/clang/lib/Tooling/DependencyScanning/
DDependencyScanningWorker.cpp63 DiagnosticConsumer *DiagConsumer) override { in runInvocation() argument
71 Compiler.createDiagnostics(DiagConsumer, /*ShouldOwnClient=*/false); in runInvocation()
/external/llvm-project/clang/unittests/Tooling/
DDependencyScannerTest.cpp55 DiagnosticConsumer *DiagConsumer) override { in runInvocation() argument
60 Compiler.createDiagnostics(DiagConsumer, /*ShouldOwnClient=*/false); in runInvocation()