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

1234567891011>>

/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DOSObjectCStyleCast.cpp49 ADC->getDecl(),
H A DPointerIterationChecker.cpp52 BR.EmitBasicReport(ADC->getDecl(), Checker,
H A DPointerSortingChecker.cpp52 BR.EmitBasicReport(ADC->getDecl(), Checker,
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 DLLVMConventionsChecker.cpp57 const TypedefNameDecl *TD = TT->getDecl();
204 CXXRecordDecl *baseD = cast<CXXRecordDecl>(baseT->getDecl());
250 const RecordDecl *RD = RT->getDecl()->getDefinition();
H A DMismatchedIteratorChecker.cpp64 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 DNonNullParamChecker.cpp50 const Decl *FD = Call.getDecl();
70 if (!Call.getDecl())
114 if (!UT || !UT->getDecl()->hasAttr<TransparentUnionAttr>())
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 DFuchsiaHandleChecker.cpp234 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 DBuiltinFunctionChecker.cpp35 const auto *FD = dyn_cast_or_null<FunctionDecl>(Call.getDecl());
H A DCastSizeChecker.cpp54 const RecordDecl *RD = RT->getDecl();
H A DStackAddrEscapeChecker.cpp90 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 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-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTBAA.cpp89 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 DUninitializedValues.cpp291 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 DAnalysisDeclContext.cpp282 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 DMemRegion.h609 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 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();
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 DExprEngineCallAndReturn.cpp187 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 DASTUnresolvedSet.h64 if (I->getDecl() == Old) {
H A DTypeLoc.h675 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 DThreadSafetyCommon.h158 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 DRetainCountDiagnostics.cpp191 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();

Completed in 375 milliseconds

1234567891011>>