/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | OSObjectCStyleCast.cpp | 49 ADC->getDecl(),
|
H A D | PointerIterationChecker.cpp | 52 BR.EmitBasicReport(ADC->getDecl(), Checker,
|
H A D | PointerSortingChecker.cpp | 52 BR.EmitBasicReport(ADC->getDecl(), Checker,
|
H A D | DereferenceChecker.cpp | 64 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { 82 << " ivar '" << IV->getDecl()->getName() << "')"; 115 return DRE->getDecl()->getType()->isReferenceType(); 172 os << "Access to instance variable '" << *IV->getDecl()
|
H A D | EnumCastOutOfRangeChecker.cpp | 128 const EnumDecl *ED = T->castAs<EnumType>()->getDecl();
|
H A D | LLVMConventionsChecker.cpp | 57 const TypedefNameDecl *TD = TT->getDecl(); 204 CXXRecordDecl *baseD = cast<CXXRecordDecl>(baseT->getDecl()); 250 const RecordDecl *RD = RT->getDecl()->getDefinition();
|
H A D | MismatchedIteratorChecker.cpp | 64 const auto *Func = dyn_cast_or_null<FunctionDecl>(Call.getDecl()); 119 const auto *Ctr = cast<CXXConstructorDecl>(Call.getDecl()); 179 ParamType->getReplacedParameter()->getDecl() != TPDecl)
|
H A D | NonNullParamChecker.cpp | 50 const Decl *FD = Call.getDecl(); 70 if (!Call.getDecl()) 114 if (!UT || !UT->getDecl()->hasAttr<TransparentUnionAttr>())
|
H A D | MoveChecker.cpp | 435 MoveNode->getLocationContext()->getDecl()); 450 const auto MethodDecl = dyn_cast_or_null<CXXMethodDecl>(AFC->getDecl()); 535 const auto *CtxDec = LC->getDecl(); 582 const auto *RegionDecl = cast<NamedDecl>(DR->getDecl()); 612 auto CtorDec = CC->getDecl(); 636 const auto MethodDecl = dyn_cast_or_null<CXXMethodDecl>(IC->getDecl());
|
H A D | FuchsiaHandleChecker.cpp | 234 if (HandleType->getDecl()->getName() != HandleTypeName) 255 const FunctionDecl *FuncDecl = dyn_cast_or_null<FunctionDecl>(Call.getDecl()); 302 const FunctionDecl *FuncDecl = dyn_cast_or_null<FunctionDecl>(Call.getDecl()); 311 if (TypeDefTy->getDecl()->getName() == ErrorTypeName) 442 Call ? dyn_cast_or_null<FunctionDecl>(Call->getDecl()) : nullptr; 523 AcquireNode->getLocationContext()->getDecl());
|
H A D | BuiltinFunctionChecker.cpp | 35 const auto *FD = dyn_cast_or_null<FunctionDecl>(Call.getDecl());
|
H A D | CastSizeChecker.cpp | 54 const RecordDecl *RD = RT->getDecl();
|
H A D | StackAddrEscapeChecker.cpp | 90 const BlockDecl *BD = BR->getCodeRegion()->getDecl(); 98 range = VR->getDecl()->getSourceRange(); 130 if (T && T->getDecl()->getIdentifier() == dispatch_semaphore_tII) 182 if (isSemaphoreCaptured(*B.getDecl())) 353 Out << *VR->getDecl()
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | QualTypeNames.cpp | 155 dyn_cast<ClassTemplateSpecializationDecl>(TSTRecord->getDecl())) { 243 TD = TagDeclType->getDecl(); 252 return TypeName::createNestedNameSpecifier(Ctx, TDD->getDecl(), 324 Decl = TDT->getDecl(); 326 Decl = TagDeclType->getDecl();
|
H A D | ODRHash.cpp | 717 const TypedefNameDecl *D = TypedefT->getDecl(); 743 const IdentifierInfo *TypedefII = TypedefT->getDecl()->getIdentifier(); 744 const IdentifierInfo *RecordII = RecordT->getDecl()->getIdentifier(); 910 AddDecl(T->getDecl()); 951 AddDecl(T->getDecl()); 1009 AddDecl(T->getDecl()); 1029 AddDecl(T->getDecl()); 1033 AddDecl(T->getDecl()); 1034 QualType UnderlyingType = T->getDecl()->getUnderlyingType(); 1039 UnderlyingType = Underlying->getDecl() [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenTBAA.cpp | 89 if (TT->getDecl()->hasAttr<MayAliasAttr>()) 101 const RecordDecl *RD = TTy->getDecl()->getDefinition(); 175 if (!Features.CPlusPlus || !ETy->getDecl()->isExternallyVisible()) 247 const RecordDecl *RD = TTy->getDecl()->getDefinition(); 299 const RecordDecl *RD = TTy->getDecl()->getDefinition();
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/ |
H A D | UninitializedValues.cpp | 291 const VarDecl *getDecl() const { return vd; } function in class:__anon392::FindVarResult 315 if (const auto *VD = dyn_cast<VarDecl>(DRE->getDecl())) 346 ClassifyRefs(AnalysisDeclContext &AC) : DC(cast<DeclContext>(AC.getDecl())) {} 363 const auto *VD = dyn_cast<VarDecl>(DRE->getDecl()); 379 if (DRE && DRE->getDecl() == VD) 544 return ::isTrackedVar(vd, cast<DeclContext>(ac.getDecl())); 548 return ::findVar(ex, cast<DeclContext>(ac.getDecl())); 769 reportUse(dr, cast<VarDecl>(dr->getDecl())); 772 vals[cast<VarDecl>(dr->getDecl())] = Initialized; 775 handler.handleSelfInit(cast<VarDecl>(dr->getDecl())); [all...] |
H A D | AnalysisDeclContext.cpp | 282 if (const auto *C = dyn_cast<CXXConstructorDecl>(getDecl())) { 492 if (const auto *D = dyn_cast<NamedDecl>(LCtx->getDecl())) 506 if (const Decl *D = cast<BlockInvocationContext>(LCtx)->getDecl()) { 537 if (const auto *D = dyn_cast<NamedDecl>(LCtx->getDecl())) 556 if (const Decl *D = cast<BlockInvocationContext>(LCtx)->getDecl()) { 600 if (const auto *VD = dyn_cast<VarDecl>(DR->getDecl())) {
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | MemRegion.h | 609 const NamedDecl *getDecl() const { function in class:clang::ento::FunctionCodeRegion 652 const BlockDecl *getDecl() const { function in class:clang::ento::BlockCodeRegion 700 const BlockDecl *getDecl() const { return BC->getDecl(); } function in class:clang::ento::BlockDataRegion 919 const ValueDecl *getDecl() const { return D; } function in class:clang::ento::DeclRegion 950 const VarDecl *getDecl() const { return cast<VarDecl>(D); } function in class:clang::ento::VarRegion 956 return getDecl()->getType(); 1017 const FieldDecl *getDecl() const { return cast<FieldDecl>(D); } function in class:clang::ento::FieldRegion 1021 return getDecl()->getType(); 1047 const ObjCIvarDecl *getDecl() cons 1168 const CXXRecordDecl *getDecl() const { return Data.getPointer(); } function in class:clang::ento::CXXBaseObjectRegion 1210 const CXXRecordDecl *getDecl() const { return DerivedD; } function in class:clang::ento::CXXDerivedObjectRegion [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngineCXX.cpp | 46 assert(Ctor->getDecl()->isTrivial()); 47 assert(Ctor->getDecl()->isCopyOrMoveConstructor()); 49 ThisRD = Ctor->getDecl()->getParent(); 52 assert(cast<CXXMethodDecl>(Call.getDecl())->isTrivial()); 53 assert(cast<CXXMethodDecl>(Call.getDecl())->getOverloadedOperator() == 56 ThisRD = cast<CXXMethodDecl>(Call.getDecl())->getParent(); 141 const CXXMethodDecl *CurCtor = cast<CXXMethodDecl>(LCtx->getDecl()); 333 // This should be equivalent to Caller->getDecl() for now, but 334 // FutureSFC->getDecl() is likely to support better stuff (like 336 const Decl *CalleeD = FutureSFC->getDecl(); [all...] |
H A D | ExprEngineCallAndReturn.cpp | 187 const Decl *RuntimeCallee = calleeCtx->getDecl(); 188 const Decl *StaticDecl = Call->getDecl(); 236 CallEvent::getDeclaredResultType(calleeCtx->getDecl()); 395 const Decl *DI = SFC->getDecl(); 763 if (Ctor.getDecl()->getParent()->hasTrivialDestructor()) 899 if (CallEvent::isVariadic(CalleeADC->getDecl())) 905 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(CalleeADC->getDecl())) { 1029 const CXXMethodDecl *MD = dyn_cast_or_null<CXXMethodDecl>(ICall->getDecl()); 1062 const Decl *D = RD.getDecl();
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | ASTUnresolvedSet.h | 64 if (I->getDecl() == Old) {
|
H A D | TypeLoc.h | 675 return getTypePtr()->getDecl(); 686 CXXRecordDecl *getDecl() const { function in class:clang::InjectedClassNameTypeLoc 687 return getTypePtr()->getDecl(); 697 UnresolvedUsingTypenameDecl *getDecl() const { function in class:clang::UnresolvedUsingTypeLoc 698 return getTypePtr()->getDecl(); 711 TagDecl *getDecl() const { return getTypePtr()->getDecl(); } function in class:clang::TagTypeLoc 722 RecordDecl *getDecl() const { return getTypePtr()->getDecl(); } function in class:clang::RecordTypeLoc 730 EnumDecl *getDecl() cons function in class:clang::EnumTypeLoc 739 TemplateTypeParmDecl *getDecl() const { return getTypePtr()->getDecl(); } function in class:clang::TemplateTypeParmTypeLoc 758 ObjCTypeParamDecl *getDecl() const { return getTypePtr()->getDecl(); } function in class:clang::ObjCTypeParamTypeLoc [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Analysis/Analyses/ |
H A D | ThreadSafetyCommon.h | 158 if (!dyn_cast_or_null<NamedDecl>(AC.getDecl())) 173 V.enterCFG(CFGraph, getDecl(), &CFGraph->getEntry()); 255 const NamedDecl *getDecl() const { function in class:clang::threadSafety::CFGWalker 256 return dyn_cast<NamedDecl>(ACtx->getDecl());
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
H A D | RetainCountDiagnostics.cpp | 191 const ValueDecl *VD = DRE->getDecl(); 436 const auto *PVD = cast<ParmVarDecl>(VR->getDecl()); 608 return std::string(VR->getDecl()->getName()); 835 const Decl *PDecl = Region->getDecl(); 841 UniqueingDecl = Ctx.getLocationContext()->getDecl(); 886 UniqueingDecl = AllocNode->getLocationContext()->getDecl();
|