Lines Matching defs:BugReporter
1 //===- BugReporter.cpp - Generate PathDiagnostics for bugs ----------------===//
9 // This file defines BugReporter, a utility class for generating
14 #include "clang/StaticAnalyzer/Core/BugReporter/BugReporter.h"
36 #include "clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h"
37 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
38 #include "clang/StaticAnalyzer/Core/BugReporter/Z3CrosscheckVisitor.h"
82 #define DEBUG_TYPE "BugReporter"
2494 // Methods for BugReporter and subclasses.
2505 BugReporter::BugReporter(BugReporterData &D)
2508 BugReporter::~BugReporter() {
2511 "Destroying BugReporter before diagnostics are emitted!");
2518 void BugReporter::FlushReports() {
2524 // BugReporter owns and deletes only BugTypes created implicitly through
2527 // create will be destroyed by the BugReporter.
2606 "We only allow BugReporterVisitors and BugReporter itself to "
2952 void BugReporter::emitReport(std::unique_ptr<BugReport> R) {
2999 BugReporter::emitReport(std::move(R));
3122 void BugReporter::FlushReport(BugReportEquivClass& EQ) {
3268 BugReporter::generateDiagnosticForConsumerMap(
3351 return BugReporter::generateDiagnosticForConsumerMap(exampleReport,
3383 void BugReporter::EmitBasicReport(const Decl *DeclWithIssue,
3393 void BugReporter::EmitBasicReport(const Decl *DeclWithIssue,
3399 // 'BT' is owned by BugReporter.
3410 BugType *BugReporter::getBugTypeForName(CheckerNameRef CheckName,