/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | ClangdTests.cpp | 174 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/ |
D | Tooling.h | 82 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
|
D | StandaloneExecution.h | 63 void setDiagnosticConsumer(DiagnosticConsumer *DiagConsumer) { in setDiagnosticConsumer() argument 64 Tool.setDiagnosticConsumer(DiagConsumer); in setDiagnosticConsumer()
|
/external/clang/include/clang/Tooling/ |
D | Tooling.h | 74 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/ |
D | Tooling.cpp | 216 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/ |
D | ClangTidyTest.h | 98 ClangTidyDiagnosticConsumer DiagConsumer(Context); 100 &DiagConsumer, false); 138 Invocation.setDiagnosticConsumer(&DiagConsumer); 141 for (const auto &Error : DiagConsumer.take()) { 148 std::vector<ClangTidyError> Diags = DiagConsumer.take();
|
D | ClangTidyOptionsTest.cpp | 169 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/ |
D | Tooling.cpp | 336 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/ |
D | CheckerRegistration.h | 22 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/ |
D | ClangTidyPlugin.cpp | 43 auto DiagConsumer = in CreateASTConsumer() local 46 new DiagnosticIDs, new DiagnosticOptions, DiagConsumer); in CreateASTConsumer()
|
/external/llvm-project/clang-tools-extra/clang-tidy/ |
D | ClangTidy.cpp | 532 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/ |
D | DependencyScanningWorker.cpp | 63 DiagnosticConsumer *DiagConsumer) override { in runInvocation() argument 71 Compiler.createDiagnostics(DiagConsumer, /*ShouldOwnClient=*/false); in runInvocation()
|
/external/llvm-project/clang/unittests/Tooling/ |
D | DependencyScannerTest.cpp | 55 DiagnosticConsumer *DiagConsumer) override { in runInvocation() argument 60 Compiler.createDiagnostics(DiagConsumer, /*ShouldOwnClient=*/false); in runInvocation()
|