clang 20.0.0git
|
#include "clang/Sema/AnalysisBasedWarnings.h"
Classes | |
class | InterProceduralData |
InterProceduralData aims to be a storage of whatever data should be passed between analyses of different functions. More... | |
class | Policy |
Public Member Functions | |
AnalysisBasedWarnings (Sema &s) | |
~AnalysisBasedWarnings () | |
void | IssueWarnings (Policy P, FunctionScopeInfo *fscope, const Decl *D, QualType BlockType) |
void | IssueWarnings (TranslationUnitDecl *D) |
Policy | getDefaultPolicy () |
void | PrintStats () const |
Definition at line 32 of file AnalysisBasedWarnings.h.
sema::AnalysisBasedWarnings::AnalysisBasedWarnings | ( | Sema & | s | ) |
Definition at line 2446 of file AnalysisBasedWarnings.cpp.
References D, clang::Sema::getDiagnostics(), and isEnabled().
|
default |
|
inline |
Definition at line 106 of file AnalysisBasedWarnings.h.
Referenced by clang::Sema::ActOnBlockStmtExpr(), and clang::Sema::ActOnFinishFunctionBody().
void clang::sema::AnalysisBasedWarnings::IssueWarnings | ( | Policy | P, |
sema::FunctionScopeInfo * | fscope, | ||
const Decl * | D, | ||
QualType | BlockType | ||
) |
Definition at line 2568 of file AnalysisBasedWarnings.cpp.
References clang::checkCalledOnceParameters(), CheckFallThroughForBody(), checkRecursiveFunction(), checkThrowInNonThrowingFunc(), CheckUnreachable(), clang::Sema::CollectStats, D, clang::SemaBase::Diag(), diagnoseRepeatedUseOfWeak(), DiagnoseSwitchLabelsFallthrough(), flushDiagnostics(), clang::Function, clang::Decl::getBeginLoc(), clang::Decl::getBody(), clang::Sema::getDiagnostics(), clang::DiagnosticsEngine::getIgnoreAllWarnings(), clang::Sema::getLangOpts(), clang::Decl::getLocation(), clang::DiagnosticsEngine::getSuppressSystemWarnings(), clang::sema::FunctionScopeInfo::HasFallthroughStmt, clang::Sema::hasUncompilableErrorOccurred(), clang::sema::FunctionScopeInfo::isCoroutine(), clang::DiagnosticsEngine::isIgnored(), clang::SourceManager::isInSystemHeader(), isNoexcept(), clang::CFGReverseBlockReachabilityAnalysis::isReachable(), clang::isTemplateInstantiation(), clang::UninitVariablesAnalysisStats::NumBlockVisits, clang::UninitVariablesAnalysisStats::NumVariablesAnalyzed, P, clang::sema::FunctionScopeInfo::PossiblyUnreachableDiags, clang::consumed::ConsumedAnalyzer::run(), clang::threadSafety::runThreadSafetyAnalysis(), clang::runUninitializedVariablesAnalysis(), clang::Sema::SourceMgr, and clang::Sema::ThreadSafetyDeclCache.
Referenced by clang::Sema::ActOnEndOfTranslationUnit().
void clang::sema::AnalysisBasedWarnings::IssueWarnings | ( | TranslationUnitDecl * | D | ) |
Definition at line 2520 of file AnalysisBasedWarnings.cpp.
References clang::checkUnsafeBufferUsage(), clang::DiagnosticsEngine::getDiagnosticOptions(), clang::Sema::getDiagnostics(), clang::DiagnosticsEngine::getIgnoreAllWarnings(), clang::Sema::getLangOpts(), clang::Sema::hasUncompilableErrorOccurred(), clang::DiagnosticsEngine::isIgnored(), and Node.
void clang::sema::AnalysisBasedWarnings::PrintStats | ( | ) | const |
Definition at line 2817 of file AnalysisBasedWarnings.cpp.
Referenced by clang::Sema::PrintStats().