Searched refs:getDecl (Results 51 - 75 of 300) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObject.h118 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 DCXXSelfAssignmentChecker.cpp42 const auto *MD = dyn_cast<CXXMethodDecl>(LCtx->getDecl());
H A DCheckPlacementNew.cpp203 if (TheElementDeclRegion->getDecl()->getMaxAlignment())
204 BaseRegionAlign = getStorageAlign(C, TheElementDeclRegion->getDecl());
206 BaseRegionAlign = getStorageAlign(C, BaseDeclRegion->getDecl());
263 const VarDecl *TheVarDecl = R->getDecl();
H A DDereferenceChecker.cpp64 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 DEnumCastOutOfRangeChecker.cpp128 const EnumDecl *ED = T->castAs<EnumType>()->getDecl();
H A DPointerIterationChecker.cpp52 BR.EmitBasicReport(ADC->getDecl(), Checker,
H A DPointerSortingChecker.cpp52 BR.EmitBasicReport(ADC->getDecl(), Checker,
H A DAnalysisOrderChecker.cpp128 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 DGTestChecker.cpp146 Call->getDecl()->getParent(), ThisVal, State);
168 const CXXRecordDecl *AssertResultClassDecl = Call->getDecl()->getParent();
193 const CXXConstructorDecl *CtorDecl = CtorCall->getDecl();
H A DLLVMConventionsChecker.cpp57 const TypedefNameDecl *TD = TT->getDecl();
204 CXXRecordDecl *baseD = cast<CXXRecordDecl>(baseT->getDecl());
250 const RecordDecl *RD = RT->getDecl()->getDefinition();
H A DMismatchedIteratorChecker.cpp65 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 DSmartPtrModeling.cpp67 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 DFuchsiaHandleChecker.cpp239 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 DMoveChecker.cpp435 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 DBuiltinFunctionChecker.cpp36 const auto *FD = dyn_cast_or_null<FunctionDecl>(Call.getDecl());
H A DCastSizeChecker.cpp56 const RecordDecl *RD = RT->getDecl();
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTBAA.cpp89 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 DCodeGenTypes.cpp143 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 DQualTypeNames.cpp155 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 DODRHash.cpp717 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 DExprEngineCXX.cpp46 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 DAnalysisDeclContext.cpp282 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 DIndexTypeSourceInfo.cpp50 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 DAnalysisDeclContext.h106 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 DRetainCountDiagnostics.cpp192 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();

Completed in 287 milliseconds

1234567891011>>