Searched refs:getDecl (Results 251 - 275 of 300) sorted by relevance

<<1112

/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DDeclTemplate.h773 static DeclType *getDecl(EntryType *D) {
797 return SETraits::getDecl(&*this->I)->getMostRecentDecl();
966 static DeclType *getDecl(FunctionTemplateSpecializationInfo *I) { function in struct:clang::RedeclarableTemplateDecl::SpecEntryTraits
H A DComment.h1119 const Decl *getDecl() const LLVM_READONLY {
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DStmtProfile.cpp255 VisitDecl(S->getDecl());
1124 VisitDecl(S->getDecl());
2115 VisitDecl(S->getDecl());
H A DDeclPrinter.cpp1592 NamedDecl *ND = cast<DeclRefExpr>(*I)->getDecl();
1606 NamedDecl *ND = cast<DeclRefExpr>(*I)->getDecl();
H A DAPValue.cpp571 const RecordDecl *RD = Ty->castAs<RecordType>()->getDecl();
H A DPrintfFormatString.cpp728 QT = ETy->getDecl()->getIntegerType();
H A DExprCXX.cpp756 cast<CXXRecordDecl>(SrcType->castAs<RecordType>()->getDecl());
762 cast<CXXRecordDecl>(DestType->castAs<RecordType>()->getDecl());
H A DOpenMPClause.cpp1733 if (isa<OMPCapturedExprDecl>(DRE->getDecl()))
1736 DRE->getDecl()->printQualifiedName(OS);
H A DRecordLayoutBuilder.cpp2458 auto const &Layout = Context.getASTRecordLayout(RT->getDecl());
3384 DumpRecordLayout(OS, RT->getDecl(), C, FieldOffset, IndentLevel,
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGNonTrivialStruct.cpp41 const RecordDecl *RD = QT->castAs<RecordType>()->getDecl();
457 SourceLocation Loc = QT->castAs<RecordType>()->getDecl()->getLocation();
H A DCGCoroutine.cpp361 auto *PD = DREOrig->getDecl();
H A DCGObjC.cpp320 const VarDecl *var = dyn_cast<VarDecl>(declRef->getDecl());
925 HasStrong = recordType->getDecl()->hasObjectMember();
1852 assert(InterfaceTy->getDecl() && "No decl for ObjC interface type");
1856 CGM.getObjCRuntime().GetClass(*this, InterfaceTy->getDecl());
H A DCodeGenPGO.cpp772 const Decl *D = GD.getDecl();
H A DCGExprScalar.cpp257 const ValueDecl *VD = DRE->getDecl();
262 AVAttr = TTy->getDecl()->getAttr<AlignValueAttr>();
279 AVAttr = TTy->getDecl()->getAttr<AlignValueAttr>();
2818 RecordDecl *RD = CurrentType->castAs<RecordType>()->getDecl();
2851 RecordDecl *RD = CurrentType->castAs<RecordType>()->getDecl();
2859 CXXRecordDecl *BaseRD = cast<CXXRecordDecl>(BaseRT->getDecl());
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaCoroutine.cpp659 dyn_cast<CXXRecordDecl>(T->getDecl())->getDestructor(), true);
1144 auto *Decl = DeclRef->getDecl();
H A DSemaLambda.cpp573 /// EnumType::getDecl() (i.e. the definition).
582 = dyn_cast<EnumConstantDecl>(DRE->getDecl())) {
628 return ET->getDecl();
H A DSemaDeclObjC.cpp3198 RecordDecl *left = cast<RecordType>(lt)->getDecl();
3199 RecordDecl *right = cast<RecordType>(rt)->getDecl();
3816 return (RecordTy && RecordTy->getDecl()->hasFlexibleArrayMember());
3862 if (RecordTy->getDecl()->hasFlexibleArrayMember()) {
5237 if (E->getDecl() == IvarD) {
H A DSemaTemplateDeduction.cpp191 if (auto *NTTP = dyn_cast<NonTypeTemplateParmDecl>(DRE->getDecl()))
587 = dyn_cast<ClassTemplateSpecializationDecl>(RecordArg->getDecl());
1849 CXXRecordDecl *Next = cast<CXXRecordDecl>(NextT->getDecl());
5652 if (auto *NTTP = dyn_cast<NonTypeTemplateParmDecl>(E->getDecl()))
5697 = dyn_cast<NonTypeTemplateParmDecl>(DRE->getDecl());
H A DSemaCodeComplete.cpp1893 if (TagDecl *Tag = TagT->getDecl())
3202 Record = cast<CXXRecordDecl>(RecordTy->getDecl());
3204 Record = InjectedTy->getDecl();
4433 EnumDecl *Enum = Data.PreferredType->castAs<EnumType>()->getDecl();
4864 auto *TemplatedEntity = getTemplatedEntity(BaseType.getDecl(), S);
5433 EnumDecl *Enum = type->castAs<EnumType>()->getDecl();
5451 dyn_cast<EnumConstantDecl>(DRE->getDecl())) {
5602 FD = dyn_cast<FunctionDecl>(DRE->getDecl());
/freebsd-13-stable/contrib/llvm-project/clang/lib/Index/
H A DIndexDecl.cpp400 if (auto *TD = TT->getDecl()) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DStreamChecker.cpp1005 StreamOpenNode->getLocationContext()->getDecl());
H A DCStringChecker.cpp997 if (const auto *FD = cast<FunctionCodeRegion>(MR)->getDecl())
2270 const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(Call.getDecl());
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/
H A DProgramPoint.h565 const Decl *getDecl() const { return static_cast<const Decl *>(getData2()); } function in class:clang::ImplicitCallPoint
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp4771 WriteDecl(Context, DOT.getDecl());
4966 assert(Update.getDecl() && "no decl to add?");
4967 Record.push_back(GetDeclRef(Update.getDecl()));
4994 cast<ParmVarDecl>(Update.getDecl())->getDefaultArg()));
4999 cast<FieldDecl>(Update.getDecl())->getInClassInitializer());
5050 Record.AddDeclRef(Update.getDecl());
5604 AddDeclRef(I.getDecl());
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp104 return isa<EnumConstantDecl>(DR->getDecl()) ? DR : nullptr;
157 auto *Decl1 = cast<DeclRefExpr>(E1)->getDecl();
158 auto *Decl2 = cast<DeclRefExpr>(E2)->getDecl();
3242 assert(LabelMap.find(L->getDecl()) == LabelMap.end() &&
3244 LabelMap[L->getDecl()] = JumpTarget(LabelBlock, ScopePos);

Completed in 590 milliseconds

<<1112