Home
last modified time | relevance | path

Searched refs:PathDiagnostic (Results 1 – 20 of 20) sorted by relevance

/external/clang/lib/StaticAnalyzer/Core/
DPathDiagnostic.cpp104 PathDiagnostic::~PathDiagnostic() {} in ~PathDiagnostic()
106 PathDiagnostic::PathDiagnostic(StringRef CheckName, const Decl *declWithIssue, in PathDiagnostic() function in PathDiagnostic
152 void PathDiagnostic::resetDiagnosticLocationToMainFile() { in resetDiagnosticLocationToMainFile()
190 for (llvm::FoldingSet<PathDiagnostic>::iterator it = in ~PathDiagnosticConsumer()
197 std::unique_ptr<PathDiagnostic> D) { in HandlePathDiagnostic()
260 if (PathDiagnostic *orig = Diags.FindNodeOrInsertPos(profile, InsertPos)) { in HandlePathDiagnostic()
376 static bool compare(const PathDiagnostic &X, const PathDiagnostic &Y) { in compare()
403 PathDiagnostic::meta_iterator XI = X.meta_begin(), XE = X.meta_end(); in compare()
404 PathDiagnostic::meta_iterator YI = Y.meta_begin(), YE = Y.meta_end(); in compare()
423 std::vector<const PathDiagnostic *> BatchDiags; in FlushDiagnostics()
[all …]
DPlistDiagnostics.cpp42 void FlushDiagnosticsImpl(std::vector<const PathDiagnostic *> &Diags,
289 std::vector<const PathDiagnostic *> &Diags, in FlushDiagnosticsImpl()
301 for (std::vector<const PathDiagnostic*>::iterator DI = Diags.begin(), in FlushDiagnosticsImpl()
304 const PathDiagnostic *D = *DI; in FlushDiagnosticsImpl()
367 for (std::vector<const PathDiagnostic*>::iterator DI=Diags.begin(), in FlushDiagnosticsImpl()
373 const PathDiagnostic *D = *DI; in FlushDiagnosticsImpl()
DHTMLDiagnostics.cpp52 void FlushDiagnosticsImpl(std::vector<const PathDiagnostic *> &Diags,
70 void ReportDiag(const PathDiagnostic& D,
94 std::vector<const PathDiagnostic *> &Diags, in FlushDiagnosticsImpl()
96 for (std::vector<const PathDiagnostic *>::iterator it = Diags.begin(), in FlushDiagnosticsImpl()
102 void HTMLDiagnostics::ReportDiag(const PathDiagnostic& D, in ReportDiag()
216 for (PathDiagnostic::meta_iterator I=D.meta_begin(), E=D.meta_end(); in ReportDiag()
DCMakeLists.txt33 PathDiagnostic.cpp
DBugReporter.cpp503 PathDiagnostic &PD, PathDiagnosticBuilder &PDB, const ExplodedNode *N, in GenerateVisitorsOnlyPathDiagnostic()
557 PathDiagnostic &PD, PathDiagnosticBuilder &PDB, const ExplodedNode *N, in GenerateMinimalPathDiagnostic()
967 PathDiagnostic &PD;
989 EdgeBuilder(PathDiagnostic &pd, PathDiagnosticBuilder &pdb) in EdgeBuilder()
1388 PathDiagnostic &PD, PathDiagnosticBuilder &PDB, const ExplodedNode *N, in GenerateExtensivePathDiagnostic()
1628 PathDiagnostic &PD, PathDiagnosticBuilder &PDB, const ExplodedNode *N, in GenerateAlternateExtensivePathDiagnostic()
3054 bool GRBugReporter::generatePathDiagnostic(PathDiagnostic& PD, in generatePathDiagnostic()
3397 std::unique_ptr<PathDiagnostic> D(new PathDiagnostic( in FlushReport()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DSarifDiagnostics.cpp38 void FlushDiagnosticsImpl(std::vector<const PathDiagnostic *> &Diags,
280 const PathDiagnostic &Diag, in createResult()
323 static json::Object createRule(const PathDiagnostic &Diag) { in createRule()
337 static json::Array createRules(std::vector<const PathDiagnostic *> &Diags, in createRules()
342 llvm::for_each(Diags, [&](const PathDiagnostic *D) { in createRules()
354 static json::Object createTool(std::vector<const PathDiagnostic *> &Diags, in createTool()
365 std::vector<const PathDiagnostic *> &Diags) { in createRun()
370 llvm::for_each(Diags, [&](const PathDiagnostic *D) { in createRun()
381 std::vector<const PathDiagnostic *> &Diags, FilesMade *) { in FlushDiagnosticsImpl()
DHTMLDiagnostics.cpp76 void FlushDiagnosticsImpl(std::vector<const PathDiagnostic *> &Diags,
99 void ReportDiag(const PathDiagnostic& D,
103 std::string GenerateHTML(const PathDiagnostic& D, Rewriter &R,
108 void FinalizeHTML(const PathDiagnostic& D, Rewriter &R,
125 const PathDiagnostic &D, const PathPieces &path);
128 void dumpCoverageData(const PathDiagnostic &D,
184 std::vector<const PathDiagnostic *> &Diags, in FlushDiagnosticsImpl()
190 void HTMLDiagnostics::ReportDiag(const PathDiagnostic& D, in ReportDiag()
299 std::string HTMLDiagnostics::GenerateHTML(const PathDiagnostic& D, Rewriter &R, in GenerateHTML()
373 const PathDiagnostic &D, in dumpCoverageData()
[all …]
DTextDiagnostics.cpp59 void FlushDiagnosticsImpl(std::vector<const PathDiagnostic *> &Diags, in FlushDiagnosticsImpl()
88 for (std::vector<const PathDiagnostic *>::iterator I = Diags.begin(), in FlushDiagnosticsImpl()
91 const PathDiagnostic *PD = *I; in FlushDiagnosticsImpl()
DPlistDiagnostics.cpp59 void FlushDiagnosticsImpl(std::vector<const PathDiagnostic *> &Diags,
170 static void printCoverage(const PathDiagnostic *D,
487 static void printCoverage(const PathDiagnostic *D, in printCoverage()
607 std::vector<const PathDiagnostic *> &Diags, in FlushDiagnosticsImpl()
625 for (const PathDiagnostic *D : Diags) { in FlushDiagnosticsImpl()
674 for (std::vector<const PathDiagnostic*>::iterator DI=Diags.begin(), in FlushDiagnosticsImpl()
679 const PathDiagnostic *D = *DI; in FlushDiagnosticsImpl()
DBugReporter.cpp134 std::unique_ptr<PathDiagnostic> PD;
241 std::unique_ptr<PathDiagnostic>
1314 static std::unique_ptr<PathDiagnostic>
1317 return std::make_unique<PathDiagnostic>( in generateDiagnosticForBasicReport()
1324 static std::unique_ptr<PathDiagnostic>
1328 return std::make_unique<PathDiagnostic>( in generateEmptyDiagnosticForReport()
1954 static void updateExecutedLinesWithDiagnosticPieces(PathDiagnostic &PD) { in updateExecutedLinesWithDiagnosticPieces()
1985 std::unique_ptr<PathDiagnostic>
2863 if (std::unique_ptr<PathDiagnostic> PD = PDB->generate(PC)) { in generatePathDiagnostics()
3050 std::unique_ptr<PathDiagnostic> &PD = P.second; in FlushReport()
[all …]
/external/llvm-project/clang/lib/Analysis/
DPathDiagnostic.cpp118 PathDiagnostic::~PathDiagnostic() = default;
120 PathDiagnostic::PathDiagnostic( in PathDiagnostic() function in PathDiagnostic
142 std::unique_ptr<PathDiagnostic> D) { in HandlePathDiagnostic()
211 if (PathDiagnostic *orig = Diags.FindNodeOrInsertPos(profile, InsertPos)) { in HandlePathDiagnostic()
351 static bool compare(const PathDiagnostic &X, const PathDiagnostic &Y) { in compare()
390 PathDiagnostic::meta_iterator XI = X.meta_begin(), XE = X.meta_end(); in compare()
391 PathDiagnostic::meta_iterator YI = Y.meta_begin(), YE = Y.meta_end(); in compare()
410 std::vector<const PathDiagnostic *> BatchDiags; in FlushDiagnostics()
416 int (*Comp)(const PathDiagnostic *const *, const PathDiagnostic *const *) = in FlushDiagnostics()
417 [](const PathDiagnostic *const *X, const PathDiagnostic *const *Y) { in FlushDiagnostics()
[all …]
DCMakeLists.txt23 PathDiagnostic.cpp
/external/llvm-project/clang/include/clang/Analysis/
DPathDiagnostic.h59 class PathDiagnostic; variable
129 void addDiagnostic(const PathDiagnostic &PD,
133 PDFileEntry::ConsumerFiles *getFiles(const PathDiagnostic &PD);
145 virtual void FlushDiagnosticsImpl(std::vector<const PathDiagnostic *> &Diags,
150 void HandlePathDiagnostic(std::unique_ptr<PathDiagnostic> D);
179 llvm::FoldingSet<PathDiagnostic> Diags;
768 class PathDiagnostic : public llvm::FoldingSetNode {
792 PathDiagnostic() = delete;
793 PathDiagnostic(StringRef CheckerName, const Decl *DeclWithIssue,
798 ~PathDiagnostic();
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DPathDiagnostic.h53 class PathDiagnostic; variable
82 void addDiagnostic(const PathDiagnostic &PD,
86 PDFileEntry::ConsumerFiles *getFiles(const PathDiagnostic &PD);
97 virtual void FlushDiagnosticsImpl(std::vector<const PathDiagnostic *> &Diags,
102 void HandlePathDiagnostic(std::unique_ptr<PathDiagnostic> D);
114 llvm::FoldingSet<PathDiagnostic> Diags;
716 class PathDiagnostic : public llvm::FoldingSetNode {
736 PathDiagnostic() = delete;
738 PathDiagnostic(StringRef CheckName, const Decl *DeclWithIssue,
743 ~PathDiagnostic();
DBugReporter.h40 class PathDiagnostic; variable
452 virtual bool generatePathDiagnostic(PathDiagnostic& pathDiagnostic,
517 bool generatePathDiagnostic(PathDiagnostic &PD, PathDiagnosticConsumer &PC,
/external/llvm-project/llvm/utils/gn/secondary/clang/lib/Analysis/
DBUILD.gn29 "PathDiagnostic.cpp",
/external/llvm-project/clang/unittests/StaticAnalyzer/
DCheckerRegistration.h27 void FlushDiagnosticsImpl(std::vector<const PathDiagnostic *> &Diags, in FlushDiagnosticsImpl()
/external/clang/lib/StaticAnalyzer/Frontend/
DAnalysisConsumer.cpp109 void FlushDiagnosticsImpl(std::vector<const PathDiagnostic *> &Diags, in FlushDiagnosticsImpl()
114 for (std::vector<const PathDiagnostic*>::iterator I = Diags.begin(), in FlushDiagnosticsImpl()
116 const PathDiagnostic *PD = *I; in FlushDiagnosticsImpl()
/external/llvm-project/clang-tools-extra/clang-tidy/
DClangTidy.cpp73 void FlushDiagnosticsImpl(std::vector<const ento::PathDiagnostic *> &Diags, in FlushDiagnosticsImpl()
75 for (const ento::PathDiagnostic *PD : Diags) { in FlushDiagnosticsImpl()
/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DBugReporter.h73 llvm::DenseMap<PathDiagnosticConsumer *, std::unique_ptr<PathDiagnostic>>;