reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/include/clang/Analysis/Analyses/ThreadSafetyCommon.h
  158     if (!dyn_cast_or_null<NamedDecl>(AC.getDecl()))
  256     return dyn_cast<NamedDecl>(ACtx->getDecl());
tools/clang/include/clang/Analysis/AnalysisDeclContext.h
  251   const Decl *getDecl() const { return getAnalysisDeclContext()->getDecl(); }
tools/clang/lib/Analysis/AnalysisDeclContext.cpp
  282     if (const auto *C = dyn_cast<CXXConstructorDecl>(getDecl())) {
tools/clang/lib/Analysis/Consumed.cpp
 1305   const auto *D = dyn_cast_or_null<FunctionDecl>(AC.getDecl());
tools/clang/lib/Analysis/PathDiagnostic.cpp
  493           L = ADC->getDecl()->getEndLoc();
  538     return PathDiagnosticLocation::create(CallerInfo->getDecl(), SM);
tools/clang/lib/Analysis/UninitializedValues.cpp
  346   ClassifyRefs(AnalysisDeclContext &AC) : DC(cast<DeclContext>(AC.getDecl())) {}
  544     return ::isTrackedVar(vd, cast<DeclContext>(ac.getDecl()));
  548     return ::findVar(ex, cast<DeclContext>(ac.getDecl()));
tools/clang/lib/Sema/AnalysisBasedWarnings.cpp
  116   if (!S.getSourceManager().isInMainFile(AC.getDecl()->getBeginLoc()))
 1279     if (const FunctionDecl *Function = dyn_cast<FunctionDecl>(AC.getDecl()))
 2165     SourceLocation FL = AC.getDecl()->getLocation();
 2166     SourceLocation FEL = AC.getDecl()->getEndLoc();
tools/clang/lib/StaticAnalyzer/Checkers/CastToStructChecker.cpp
   66         AC->getDecl(), Checker, "Cast from non-struct type to struct type",
   97     BR.EmitBasicReport(AC->getDecl(), Checker, "Widening cast to struct type",
tools/clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp
  319   BR.EmitBasicReport(AC->getDecl(), filter.checkName_FloatLoopCounter,
  359   BR.EmitBasicReport(AC->getDecl(), filter.checkName_bcmp,
  401   BR.EmitBasicReport(AC->getDecl(), filter.checkName_bcopy,
  442   BR.EmitBasicReport(AC->getDecl(), filter.checkName_bzero,
  480   BR.EmitBasicReport(AC->getDecl(), filter.checkName_gets,
  520   BR.EmitBasicReport(AC->getDecl(), filter.checkName_getpw,
  561   BR.EmitBasicReport(AC->getDecl(), filter.checkName_mktemp,
  647   BR.EmitBasicReport(AC->getDecl(), filter.checkName_mkstemp,
  680   BR.EmitBasicReport(AC->getDecl(), filter.checkName_strcpy,
  708   BR.EmitBasicReport(AC->getDecl(), filter.checkName_strcpy,
  796   BR.EmitBasicReport(AC->getDecl(),
  870   BR.EmitBasicReport(AC->getDecl(), filter.checkName_rand, os1.str(),
  895   BR.EmitBasicReport(AC->getDecl(), filter.checkName_rand,
  915   BR.EmitBasicReport(AC->getDecl(), filter.checkName_vfork,
  986   BR.EmitBasicReport(AC->getDecl(), filter.checkName_UncheckedReturn, os1.str(),
tools/clang/lib/StaticAnalyzer/Checkers/CheckSizeofPointer.cpp
   66     BR.EmitBasicReport(AC->getDecl(), Checker,
tools/clang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp
  263     BR.EmitBasicReport(AC->getDecl(), Checker, BugType, "Dead store", os.str(),
tools/clang/lib/StaticAnalyzer/Checkers/GCDAntipatternChecker.cpp
  196     ADC->getDecl(),
tools/clang/lib/StaticAnalyzer/Checkers/IdenticalExprChecker.cpp
   71   BR.EmitBasicReport(AC->getDecl(), Checker,
  120         BR.EmitBasicReport(AC->getDecl(), Checker, "Identical conditions",
  143         BR.EmitBasicReport(AC->getDecl(), Checker, "Identical conditions",
  173       BR.EmitBasicReport(AC->getDecl(), Checker,
  264     BR.EmitBasicReport(AC->getDecl(), Checker,
  286         AC->getDecl(), Checker,
tools/clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp
  727   const Decl *D = C.getCurrentAnalysisDeclContext()->getDecl();
 1384   BR.EmitBasicReport(AC->getDecl(), Checker, "Plural Misuse",
tools/clang/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp
  544   const Decl *D = DeclCtxt->getDecl();
tools/clang/lib/StaticAnalyzer/Checkers/NumberObjectConversionChecker.cpp
  189       ADC->getDecl(), C, "Suspicious number object conversion", "Logic error",
tools/clang/lib/StaticAnalyzer/Checkers/OSObjectCStyleCast.cpp
   49     ADC->getDecl(),
tools/clang/lib/StaticAnalyzer/Checkers/ObjCAutoreleaseWriteChecker.cpp
  136       ADC->getDecl(), Checker,
tools/clang/lib/StaticAnalyzer/Checkers/ObjCContainersASTChecker.cpp
  144     BR.EmitBasicReport(AC->getDecl(), Checker, OsName.str(),
tools/clang/lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp
  173                                 C.getCurrentAnalysisDeclContext()->getDecl())))
  200                                  C.getCurrentAnalysisDeclContext()->getDecl())))
  213                                  C.getCurrentAnalysisDeclContext()->getDecl())))
  241                                  C.getCurrentAnalysisDeclContext()->getDecl())))
  269                                  C.getCurrentAnalysisDeclContext()->getDecl())))
  304         C.getCurrentAnalysisDeclContext()->getDecl())))
tools/clang/lib/StaticAnalyzer/Checkers/PointerIterationChecker.cpp
   52   BR.EmitBasicReport(ADC->getDecl(), Checker,
tools/clang/lib/StaticAnalyzer/Checkers/PointerSortingChecker.cpp
   52   BR.EmitBasicReport(ADC->getDecl(), Checker,
tools/clang/lib/StaticAnalyzer/Checkers/RunLoopAutoreleaseLeakChecker.cpp
  116   BR.EmitBasicReport(ADC->getDecl(), Checker,
tools/clang/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp
   69       D = LC->getAnalysisDeclContext()->getDecl();
tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp
  188   if (RD.mayHaveOtherDefinitions() || RD.getDecl() != ADC->getDecl())
  563     const Decl* Decl = AD->getDecl();
tools/clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
  863   if (CallEvent::isVariadic(CalleeADC->getDecl()))
  869     if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(CalleeADC->getDecl())) {