/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/ |
H A D | UninitializedObject.h | 118 const FieldDecl *getDecl() const { function in class:clang::ento::FieldNode 120 return FR->getDecl();
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CXXSelfAssignmentChecker.cpp | 42 const auto *MD = dyn_cast<CXXMethodDecl>(LCtx->getDecl());
|
H A D | CheckPlacementNew.cpp | 203 if (TheElementDeclRegion->getDecl()->getMaxAlignment()) 204 BaseRegionAlign = getStorageAlign(C, TheElementDeclRegion->getDecl()); 206 BaseRegionAlign = getStorageAlign(C, BaseDeclRegion->getDecl()); 263 const VarDecl *TheVarDecl = R->getDecl();
|
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 | PointerIterationChecker.cpp | 52 BR.EmitBasicReport(ADC->getDecl(), Checker,
|
H A D | PointerSortingChecker.cpp | 52 BR.EmitBasicReport(ADC->getDecl(), Checker,
|
H A D | AnalysisOrderChecker.cpp | 128 if (const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(Call.getDecl())) 141 if (const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(Call.getDecl())) 151 if (const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(Call.getDecl()))
|
H A D | GTestChecker.cpp | 146 Call->getDecl()->getParent(), ThisVal, State); 168 const CXXRecordDecl *AssertResultClassDecl = Call->getDecl()->getParent(); 193 const CXXConstructorDecl *CtorDecl = CtorCall->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 | 65 const auto *Func = dyn_cast_or_null<FunctionDecl>(Call.getDecl()); 120 const auto *Ctr = cast<CXXConstructorDecl>(Call.getDecl()); 180 ParamType->getReplacedParameter()->getDecl() != TPDecl)
|
H A D | SmartPtrModeling.cpp | 67 const auto *MethodDecl = dyn_cast_or_null<CXXMethodDecl>(Call.getDecl()); 95 const auto *CD = dyn_cast_or_null<CXXConversionDecl>(Call.getDecl()); 126 if (CC->getDecl()->isCopyOrMoveConstructor())
|
H A D | FuchsiaHandleChecker.cpp | 239 if (HandleType->getDecl()->getName() != HandleTypeName) 260 const FunctionDecl *FuncDecl = dyn_cast_or_null<FunctionDecl>(Call.getDecl()); 307 const FunctionDecl *FuncDecl = dyn_cast_or_null<FunctionDecl>(Call.getDecl()); 316 if (TypeDefTy->getDecl()->getName() == ErrorTypeName) 473 Call ? dyn_cast_or_null<FunctionDecl>(Call->getDecl()) : nullptr; 554 AcquireNode->getLocationContext()->getDecl());
|
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 | BuiltinFunctionChecker.cpp | 36 const auto *FD = dyn_cast_or_null<FunctionDecl>(Call.getDecl());
|
H A D | CastSizeChecker.cpp | 56 const RecordDecl *RD = RT->getDecl();
|
/freebsd-13-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(); 203 if (!Features.CPlusPlus || !ETy->getDecl()->isExternallyVisible()) 284 const RecordDecl *RD = TTy->getDecl()->getDefinition(); 336 const RecordDecl *RD = TTy->getDecl()->getDefinition();
|
H A D | CodeGenTypes.cpp | 143 if (!isSafeToConvert(I.getType()->castAs<RecordType>()->getDecl(), CGT, 170 return isSafeToConvert(RT->getDecl(), CGT, AlreadyChecked); 224 return isSafeToConvert(RT->getDecl(), *this); 331 ConvertRecordDeclType(RT->getDecl()); 335 ConvertRecordDeclType(RT->getDecl()); 409 return ConvertRecordDeclType(RT->getDecl()); 712 const EnumDecl *ED = cast<EnumType>(Ty)->getDecl(); 822 ConvertRecordDeclType(I.getType()->castAs<RecordType>()->getDecl()); 889 const RecordDecl *RD = RT->getDecl();
|
/freebsd-13-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-13-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(); 136 const CXXMethodDecl *CurCtor = cast<CXXMethodDecl>(LCtx->getDecl()); 294 // This should be equivalent to Caller->getDecl() for now, but 295 // FutureSFC->getDecl() is likely to support better stuff (like 297 const Decl *CalleeD = FutureSFC->getDecl(); [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/ |
H A D | AnalysisDeclContext.cpp | 282 if (const auto *C = dyn_cast<CXXConstructorDecl>(getDecl())) { 458 if (const auto *D = dyn_cast<NamedDecl>(LCtx->getDecl())) 469 if (const Decl *D = cast<BlockInvocationContext>(LCtx)->getDecl()) { 498 if (const auto *D = dyn_cast<NamedDecl>(LCtx->getDecl())) 514 if (const Decl *D = cast<BlockInvocationContext>(LCtx)->getDecl()) { 558 if (const auto *VD = dyn_cast<VarDecl>(DR->getDecl())) {
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Index/ |
H A D | IndexTypeSourceInfo.cpp | 50 TemplateTypeParmDecl *TTPD = TTPL.getDecl(); 108 TagDecl *D = TL.getDecl(); 174 return IndexCtx.handleReference(TL.getDecl(), TL.getNameLoc(), Parent,
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/ |
H A D | AnalysisDeclContext.h | 106 const Decl *getDecl() const { return D; } function in class:clang::AnalysisDeclContext 245 const Decl *getDecl() const { return Ctx->getDecl(); } function in class:clang::LocationContext
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
H A D | RetainCountDiagnostics.cpp | 192 const ValueDecl *VD = DRE->getDecl(); 437 const auto *PVD = cast<ParmVarDecl>(VR->getDecl()); 607 return std::string(VR->getDecl()->getName()); 834 const Decl *PDecl = Region->getDecl(); 840 UniqueingDecl = Ctx.getLocationContext()->getDecl(); 885 UniqueingDecl = AllocNode->getLocationContext()->getDecl();
|