Home
last modified time | relevance | path

Searched refs:CTU (Results 1 – 16 of 16) sorted by relevance

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DPlistDiagnostics.cpp46 const cross_tu::CrossTranslationUnitContext &CTU; member in __anon633577c30111::PlistDiagnostics
85 const cross_tu::CrossTranslationUnitContext &CTU; member in __anon633577c30211::PlistPrinter
91 const cross_tu::CrossTranslationUnitContext &CTU, in PlistPrinter() argument
93 : FM(FM), PP(PP), CTU(CTU), MacroExpansions(MacroExpansions) {} in PlistPrinter()
528 : DiagOpts(std::move(DiagOpts)), OutputFile(output), PP(PP), CTU(CTU), in PlistDiagnostics()
532 (void)this->CTU; in PlistDiagnostics()
538 const cross_tu::CrossTranslationUnitContext &CTU, in createPlistDiagnosticConsumer() argument
545 C.push_back(new PlistDiagnostics(DiagOpts, OutputFile, PP, CTU, in createPlistDiagnosticConsumer()
555 const cross_tu::CrossTranslationUnitContext &CTU, in createPlistMultiFileDiagnosticConsumer() argument
562 C.push_back(new PlistDiagnostics(DiagOpts, OutputFile, PP, CTU, in createPlistMultiFileDiagnosticConsumer()
[all …]
H A DHTMLDiagnostics.cpp176 const cross_tu::CrossTranslationUnitContext &CTU, in createHTMLDiagnosticConsumer() argument
184 createTextMinimalPathDiagnosticConsumer(DiagOpts, C, OutputDir, PP, CTU, in createHTMLDiagnosticConsumer()
197 const cross_tu::CrossTranslationUnitContext &CTU, in createHTMLSingleFileDiagnosticConsumer() argument
199 createTextMinimalPathDiagnosticConsumer(DiagOpts, C, OutputDir, PP, CTU, in createHTMLSingleFileDiagnosticConsumer()
212 const cross_tu::CrossTranslationUnitContext &CTU, in createPlistHTMLDiagnosticConsumer() argument
217 createPlistMultiFileDiagnosticConsumer(DiagOpts, C, prefix, PP, CTU, in createPlistHTMLDiagnosticConsumer()
220 CTU, MacroExpansions); in createPlistHTMLDiagnosticConsumer()
226 const cross_tu::CrossTranslationUnitContext &CTU, in createSarifHTMLDiagnosticConsumer() argument
230 CTU, MacroExpansions); in createSarifHTMLDiagnosticConsumer()
231 createSarifDiagnosticConsumer(DiagOpts, C, sarif_file, PP, CTU, in createSarifHTMLDiagnosticConsumer()
[all …]
H A DTextDiagnostics.cpp143 const cross_tu::CrossTranslationUnitContext &CTU, in createTextPathDiagnosticConsumer() argument
153 const cross_tu::CrossTranslationUnitContext &CTU, in createTextMinimalPathDiagnosticConsumer() argument
H A DSarifDiagnostics.cpp52 const cross_tu::CrossTranslationUnitContext &CTU, in createSarifDiagnosticConsumer() argument
61 CTU, MacroExpansions); in createSarifDiagnosticConsumer()
H A DExprEngine.cpp213 ExprEngine::ExprEngine(cross_tu::CrossTranslationUnitContext &CTU, in ExprEngine() argument
216 : CTU(CTU), IsCTUEnabled(mgr.getAnalyzerOptions().IsNaiveCTUEnabled), in ExprEngine()
/llvm-project-15.0.7/clang/docs/analyzer/user-docs/
H A DCrossTranslationUnit.rst2 Cross Translation Unit (CTU) Analysis
33 Manual CTU Analysis
104 Now everything is available for the CTU analysis.
105 We have to feed Clang with CTU specific extra arguments:
128 Automated CTU Analysis with CodeChecker
185 Automated CTU Analysis with scan-build-py (don't do it)
187 We actively develop CTU with CodeChecker as the driver for this feature, `scan-build-py` is not act…
223 Manual CTU Analysis
289 Now everything is available for the CTU analysis.
314 Automated CTU Analysis with CodeChecker
[all …]
/llvm-project-15.0.7/clang/unittests/StaticAnalyzer/
H A DReusables.h49 cross_tu::CrossTranslationUnitContext CTU; variable
62 CTU(C), Consumers(), in ExprEngineConsumer()
67 Eng(CTU, AMgr, &VisitedCallees, &FS, ExprEngine::Inline_Regular) {} in ExprEngineConsumer()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp94 cross_tu::CrossTranslationUnitContext CTU; member in __anon4823cf260111::AnalysisConsumer
129 Plugins(plugins), Injector(injector), CTU(CI), in AnalysisConsumer()
165 CREATEFN(Opts->getDiagOpts(), PathConsumers, OutDir, PP, CTU, \ in DigestAnalyzerOptions()
297 CTU.getCrossTUDefinition(VD, Opts->CTUDir, Opts->CTUIndexName, in VisitVarDecl()
303 CTU.emitCrossTUDiagnostics(IE); in VisitVarDecl()
480 if (CTU.isImportedAsNew(FD)) in HandleDeclsCallGraph()
720 ExprEngine Eng(CTU, *Mgr, VisitedCallees, &FunctionSummaries, IMode); in RunPathSensitiveChecks()
/llvm-project-15.0.7/clang/unittests/CrossTU/
H A DCrossTranslationUnitTest.cpp30 : CTU(CI), Success(Success) {} in CTUASTConsumer()
86 CTU.getCrossTUDefinition(FD, "", IndexFileName, false), in HandleTranslationUnit()
117 CrossTranslationUnitContext CTU; member in clang::cross_tu::__anon94c7f9610111::CTUASTConsumer
/llvm-project-15.0.7/clang/tools/scan-build-py/
H A DREADME.md47 To run the CTU analysis, a compilation database file has to be created:
52 with CTU analysis enabled, execute:
56 For CTU analysis an additional (external definition) collection-phase is required.
61 # Collect and store the data required by the CTU analysis
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/
H A DPathDiagnosticConsumers.h39 const cross_tu::CrossTranslationUnitContext &CTU, \
H A DAnalyzerOptions.def363 "for import when inlining functions during CTU analysis. "
372 "for import when inlining functions during CTU analysis of C++ "
414 "The percentage of single-TU analysed nodes that the CTU analysis is "
419 "The maximum number of nodes in CTU mode is determinded by "
461 "The directory containing the CTU related files.", "")
464 "The name of the file containing the CTU index of definitions. "
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h137 cross_tu::CrossTranslationUnitContext &CTU;
181 ExprEngine(cross_tu::CrossTranslationUnitContext &CTU, AnalysisManager &mgr,
221 return &CTU; in getCrossTranslationUnitContext()
/llvm-project-15.0.7/clang/docs/
H A DLibASTImporter.rst26 Existing clients of the ``ASTImporter`` library are Cross Translation Unit (CTU) static analysis an…
27 CTU static analysis imports a definition of a function if its definition is found in another transl…
H A DReleaseNotes.rst770 - `New CTU implementation
774 CTU findings. Besides, not more than ~3% of the bug reports are lost compared
H A DInternalsManual.rst2483 is a name conflict. During the CTU analysis of certain projects, we recognized
2487 these collisions liberally then CTU analysis can find more results. Note, the