clang API Documentation
#include <AnalysisBasedWarnings.h>
Classes | |
class | Policy |
Public Member Functions | |
AnalysisBasedWarnings (Sema &s) | |
void | IssueWarnings (Policy P, FunctionScopeInfo *fscope, const Decl *D, const BlockExpr *blkExpr) |
Policy | getDefaultPolicy () |
void | PrintStats () const |
Definition at line 33 of file AnalysisBasedWarnings.h.
Definition at line 1801 of file AnalysisBasedWarnings.cpp.
References isEnabled().
Definition at line 96 of file AnalysisBasedWarnings.h.
void clang::sema::AnalysisBasedWarnings::IssueWarnings | ( | Policy | P, |
sema::FunctionScopeInfo * | fscope, | ||
const Decl * | D, | ||
const BlockExpr * | blkExpr | ||
) |
Definition at line 1835 of file AnalysisBasedWarnings.cpp.
References clang::CFG::BuildOptions::AddCXXNewAllocator, clang::CFG::BuildOptions::AddEHEdges, clang::CFG::BuildOptions::AddImplicitDtors, clang::CFG::BuildOptions::AddInitializers, clang::CFG::BuildOptions::AddTemporaryDtors, CheckFallThroughForBody(), checkRecursiveFunction(), CheckUnreachable(), diagnoseRepeatedUseOfWeak(), DiagnoseSwitchLabelsFallthrough(), clang::threadSafety::ThreadSafetyReporter::emitDiagnostics(), flushDiagnostics(), clang::AnalysisDeclContext::getBlockForRegisteredExpression(), clang::Decl::getBody(), clang::AnalysisDeclContext::getCFG(), clang::AnalysisDeclContext::getCFGBuildOptions(), clang::AnalysisDeclContext::getCFGReachablityAnalysis(), clang::AnalysisDeclContext::getDecl(), clang::CFG::getEntry(), clang::Decl::getLocation(), clang::Decl::getLocEnd(), clang::Decl::getLocStart(), clang::AnalysisDeclContext::getParentMap(), clang::DiagnosticsEngine::getSuppressSystemWarnings(), clang::DiagnosticsEngine::hasFatalErrorOccurred(), clang::DiagnosticsEngine::hasUncompilableErrorOccurred(), clang::AnalysisDeclContext::isCFGBuilt(), clang::DiagnosticsEngine::isIgnored(), clang::CFGReverseBlockReachabilityAnalysis::isReachable(), clang::UninitVariablesAnalysisStats::NumBlockVisits, clang::UninitVariablesAnalysisStats::NumVariablesAnalyzed, clang::CFG::BuildOptions::Observer, clang::sema::FunctionScopeInfo::PossiblyUnreachableDiags, clang::CFG::BuildOptions::PruneTriviallyFalseEdges, clang::AnalysisDeclContext::registerForcedBlockExpression(), clang::consumed::ConsumedAnalyzer::run(), clang::threadSafety::runThreadSafetyAnalysis(), clang::runUninitializedVariablesAnalysis(), clang::CFG::BuildOptions::setAllAlwaysAdd(), clang::CFG::BuildOptions::setAlwaysAdd(), clang::threadSafety::ThreadSafetyHandler::setIssueBetaWarnings(), and clang::threadSafety::ThreadSafetyReporter::setVerbose().
Referenced by clang::Sema::PopFunctionScopeInfo().
void clang::sema::AnalysisBasedWarnings::PrintStats | ( | ) | const |
Definition at line 2062 of file AnalysisBasedWarnings.cpp.
Referenced by clang::Sema::PrintStats().