Searched refs:getDecl (Results 76 - 100 of 300) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DStackAddrEscapeChecker.cpp91 const BlockDecl *BD = BR->getCodeRegion()->getDecl();
99 range = VR->getDecl()->getSourceRange();
131 if (T && T->getDecl()->getIdentifier() == dispatch_semaphore_tII)
184 if (isSemaphoreCaptured(*B.getDecl()))
358 Out << *VR->getDecl()
H A DMIGChecker.cpp134 return cast<ParmVarDecl>(VR->getDecl());
157 const Decl *D = SFC->getDecl();
H A DVirtualCallChecker.cpp104 const CXXMethodDecl *MD = dyn_cast_or_null<CXXMethodDecl>(Call.getDecl());
168 const auto *MD = dyn_cast_or_null<CXXMethodDecl>(LCtx->getDecl());
H A DCheckObjCDealloc.cpp521 const ObjCIvarDecl *IvarDecl = IvarRegion->getDecl();
525 cast<ObjCMethodDecl>(LCtx->getDecl())->getClassInterface())
624 const ObjCIvarDecl *IvarDecl = IvarRegion->getDecl();
798 auto *MD = cast<ObjCMethodDecl>(LCtx->getDecl());
871 if (RemovedRegion->getDecl() == UnreleasedRegion->getDecl()) {
978 auto *MD = dyn_cast<ObjCMethodDecl>(LCtx->getDecl());
/freebsd-13-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-13-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-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCallAndReturn.cpp189 const Decl *RuntimeCallee = calleeCtx->getDecl();
190 const Decl *StaticDecl = Call->getDecl();
238 CallEvent::getDeclaredResultType(calleeCtx->getDecl());
394 const Decl *DI = SFC->getDecl();
762 if (Ctor.getDecl()->getParent()->hasTrivialDestructor())
905 if (CallEvent::isVariadic(CalleeADC->getDecl()))
911 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(CalleeADC->getDecl())) {
1035 const CXXMethodDecl *MD = dyn_cast_or_null<CXXMethodDecl>(ICall->getDecl());
1068 const Decl *D = RD.getDecl();
H A DBugReporterVisitors.cpp195 if (const auto *VD = dyn_cast<VarDecl>(DRE->getDecl()))
457 if (const auto *ID = dyn_cast<ImplicitParamDecl>(DRE->getDecl()))
471 if (const auto *FD = dyn_cast_or_null<FunctionDecl>(RD.getDecl()))
473 if (const auto *MD = dyn_cast_or_null<ObjCMethodDecl>(RD.getDecl()))
565 potentiallyWritesIntoIvar(Call->getRuntimeDefinition().getDecl(),
566 IvarR->getDecl()))
575 !CCall->getDecl()->isImplicit())
750 DR->getDecl()->getDeclName().print(os, PP);
1106 if (const auto *DD = dyn_cast<DeclaratorDecl>(DR->getDecl()))
1224 if (DS->getSingleDecl() != VR->getDecl())
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DInheritViz.cpp94 static_cast<const CXXRecordDecl *>(Type->castAs<RecordType>()->getDecl());
H A DItaniumCXXABI.cpp47 assert(RT->getDecl()->isUnion() && "RecordType is expected to be a union.");
48 if (const FieldDecl *FD = RT->getDecl()->findFirstNamedDataMember()) {
H A DItaniumMangle.cpp473 mangleUnqualifiedName(GD, cast<NamedDecl>(GD.getDecl())->getDeclName(), UnknownArity,
649 if (isa<FunctionDecl>(GD.getDecl()))
651 else if (const VarDecl *VD = dyn_cast<VarDecl>(GD.getDecl()))
654 dyn_cast<IndirectFieldDecl>(GD.getDecl()))
656 else if (const FieldDecl *FD = dyn_cast<FieldDecl>(GD.getDecl()))
658 else if (const MSGuidDecl *GuidD = dyn_cast<MSGuidDecl>(GD.getDecl()))
665 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl());
799 const NamedDecl *ND = cast<NamedDecl>(GD.getDecl());
826 const NamedDecl *ND = cast<NamedDecl>(GD.getDecl());
861 const NamedDecl *ND = cast<NamedDecl>(GD.getDecl());
[all...]
H A DASTStructuralEquivalence.cpp691 cast<UnresolvedUsingType>(T1)->getDecl(),
692 cast<UnresolvedUsingType>(T2)->getDecl()))
721 if (!IsStructurallyEquivalent(Context, cast<TypedefType>(T1)->getDecl(),
722 cast<TypedefType>(T2)->getDecl()))
794 if (!IsStructurallyEquivalent(Context, cast<TagType>(T1)->getDecl(),
795 cast<TagType>(T2)->getDecl()))
922 if (!IsStructurallyEquivalent(Context, Iface1->getDecl(),
923 Iface2->getDecl()))
931 if (!IsStructurallyEquivalent(Context, Obj1->getDecl(), Obj2->getDecl()))
[all...]
H A DDeclarationName.cpp126 OS << *ClassRec->getDecl();
131 OS << *InjTy->getDecl();
195 OS << *Rec->getDecl();
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DFunction.h74 const FunctionDecl *getDecl() const { return F; } function in class:clang::interp::Function
H A DProgram.cpp241 const RecordDecl *BD = Spec.getType()->castAs<RecordType>()->getDecl();
253 const RecordDecl *BD = Spec.getType()->castAs<RecordType>()->getDecl();
301 if (auto *Record = getOrCreateRecord(RT->getDecl()))
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGVTables.cpp160 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl());
239 assert(!CurGD.getDecl() && "CurGD was already set!");
244 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl());
295 assert(isa<CXXMethodDecl>(CurGD.getDecl()) &&
297 const CXXMethodDecl *MD = cast<CXXMethodDecl>(CurGD.getDecl());
494 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl());
567 CGM.SetLLVMFunctionAttributesForDefinition(GD.getDecl(), ThunkFn);
606 cast<CXXMethodDecl>(GD.getDecl())->getCanonicalDecl();
819 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl());
859 if (cast<CXXMethodDecl>(GD.getDecl())
[all...]
H A DCGStmtOpenMP.cpp139 const auto *VD = cast<VarDecl>(cast<DeclRefExpr>(E)->getDecl());
147 const auto *OrigVD = cast<VarDecl>(cast<DeclRefExpr>(IRef)->getDecl());
222 const Decl *D = cast<DeclRefExpr>(E)->getDecl();
238 CGF.EmitVarDecl(*cast<VarDecl>(cast<DeclRefExpr>(E)->getDecl()));
272 if (const auto *OrigVD = dyn_cast<VarDecl>(OrigDRE->getDecl())) {
773 cast<VarDecl>(cast<DeclRefExpr>(D)->getDecl())->getCanonicalDecl(),
787 const auto *OrigVD = cast<VarDecl>(cast<DeclRefExpr>(*IRef)->getDecl());
791 const auto *VD = cast<VarDecl>(cast<DeclRefExpr>(IInit)->getDecl());
815 cast<VarDecl>(cast<DeclRefExpr>(*InitsRef)->getDecl());
928 const auto *OrigVD = cast<VarDecl>(cast<DeclRefExpr>(*IRef)->getDecl());
[all...]
H A DCodeGenModule.cpp307 const auto *D = cast<ValueDecl>(GD.getDecl());
920 const auto *D = dyn_cast<NamedDecl>(GD.getDecl());
942 setGVPropertiesAux(GV, dyn_cast<NamedDecl>(GD.getDecl()));
1102 .getDecl()
1109 .getDecl()
1134 if (const auto *CD = dyn_cast<CXXConstructorDecl>(CanonicalGD.getDecl())) {
1148 const auto *ND = cast<NamedDecl>(GD.getDecl());
1178 const Decl *D = GD.getDecl();
1184 dyn_cast_or_null<VarDecl>(initializedGlobalDecl.getDecl()), Out);
1260 const auto *D = cast<FunctionDecl>(GD.getDecl());
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp563 SemaRef.Diag(Entity.getDecl()->getLocation(),
575 SemaRef.Diag(Entity.getDecl()->getLocation(),
577 << /*field*/1 << Entity.getDecl();
649 if (!RType->getDecl()->isUnion())
771 const RecordDecl *RDecl = RType->getDecl();
978 RecordDecl *structDecl = DeclType->castAs<RecordType>()->getDecl();
1008 Entity.getParent()->getType()->castAs<RecordType>()->getDecl();
1274 RecordDecl *RD = DeclType->castAs<RecordType>()->getDecl();
1991 } else if (cast<VarDecl>(Entity.getDecl())->hasLocalStorage()) {
2015 RecordDecl *structDecl = DeclType->castAs<RecordType>()->getDecl();
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/
H A DCallGraph.h195 Decl *getDecl() const { return FD; } function in class:clang::CallGraphNode
198 return getDecl()->getAsFunction()->getDefinition();
/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransProtectedScope.cpp34 if (ValueDecl *D = E->getDecl())
184 if (isInRange(DRE->getDecl()->getLocation(), info.Range) &&
H A DTransZeroOutPropsInDealloc.cpp53 if (!refE || refE->getDecl() != SelfD)
168 ObjCIvarDecl *IVDecl = IV->getDecl();
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DProgramPoint.cpp104 << PC.getDecl()->getAsFunction()->getQualifiedNameAsString()
113 << PC.getDecl()->getAsFunction()->getQualifiedNameAsString()
H A DPathDiagnostic.cpp494 L = ADC->getDecl()->getEndLoc();
539 return PathDiagnosticLocation::create(CallerInfo->getDecl(), SM);
633 if (const auto *CS = dyn_cast_or_null<CompoundStmt>(LC->getDecl()->getBody()))
645 SourceLocation L = LC->getDecl()->getBodyRBrace();
659 P.getLocationContext()->getDecl(), SMng);
670 P.getLocationContext()->getDecl(), SMng);
697 CEB->getLocationContext()->getDecl()->getSourceRange().getEnd(), SMng);
834 const Decl *caller = CE.getLocationContext()->getDecl();
856 Callee = CalleeCtx->getDecl();

Completed in 314 milliseconds

1234567891011>>