| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | Redeclarable.h | 216 decl_type *getFirstDecl() { return First; } in getFirstDecl() function 220 const decl_type *getFirstDecl() const { return First; } in getFirstDecl() function 227 return getFirstDecl()->getNextRedeclaration(); in getMostRecentDecl() 232 return getFirstDecl()->getNextRedeclaration(); in getMostRecentDecl() 320 decl_type *getFirstDecl() { in getFirstDecl() function 329 const decl_type *getFirstDecl() const { in getFirstDecl() function 337 bool isFirstDecl() const { return getFirstDecl() == this; } in isFirstDecl()
|
| H A D | DeclTemplate.h | 836 return getFirstDecl(); in getCanonicalDecl() 839 return getFirstDecl(); in getCanonicalDecl() 2159 cast<ClassTemplatePartialSpecializationDecl>(getFirstDecl()); 2169 auto *First = cast<ClassTemplatePartialSpecializationDecl>(getFirstDecl()); 2191 cast<ClassTemplatePartialSpecializationDecl>(getFirstDecl()); 2197 auto *First = cast<ClassTemplatePartialSpecializationDecl>(getFirstDecl()); 2925 cast<VarTemplatePartialSpecializationDecl>(getFirstDecl()); 2931 auto *First = cast<VarTemplatePartialSpecializationDecl>(getFirstDecl()); 2953 cast<VarTemplatePartialSpecializationDecl>(getFirstDecl()); 2959 auto *First = cast<VarTemplatePartialSpecializationDecl>(getFirstDecl()); [all …]
|
| H A D | DeclCXX.h | 3182 return getFirstDecl(); in getCanonicalDecl() 3185 return getFirstDecl(); in getCanonicalDecl() 3383 return getFirstDecl(); in getCanonicalDecl() 3386 return getFirstDecl(); in getCanonicalDecl() 3585 return cast<UsingDecl>(getFirstDecl()); in getCanonicalDecl() 3588 return cast<UsingDecl>(getFirstDecl()); in getCanonicalDecl() 3776 return cast<UsingEnumDecl>(getFirstDecl()); in getCanonicalDecl() 3779 return cast<UsingEnumDecl>(getFirstDecl()); in getCanonicalDecl() 3850 UsingPackDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 3851 const UsingPackDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() [all …]
|
| H A D | Decl.h | 631 return getFirstDecl()->AnonymousNamespace; in getAnonymousNamespace() 635 getFirstDecl()->AnonymousNamespace = D; in setAnonymousNamespace() 639 NamespaceDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 640 const NamespaceDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() 3254 FieldDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 3255 const FieldDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() 3303 EnumConstantDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 3304 const EnumConstantDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() 3354 IndirectFieldDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 3355 const IndirectFieldDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() [all …]
|
| H A D | DeclObjC.h | 1913 ObjCInterfaceDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 1914 const ObjCInterfaceDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() 2294 ObjCProtocolDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 2295 const ObjCProtocolDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl()
|
| H A D | JSONNodeDumper.h | 173 const T *First = D->getFirstDecl(); in writePreviousDeclImpl()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | ExternalASTMerger.cpp | 360 if (T1->getFirstDecl() == T2->getFirstDecl()) in IsSameDC()
|
| H A D | ComputeDependence.cpp | 587 !Var->getFirstDecl()->hasInit()) { in computeDependence() 588 const VarDecl *First = Var->getFirstDecl(); in computeDependence()
|
| H A D | Decl.cpp | 575 const T *First = D->getFirstDecl(); in isFirstInExternCContext() 2239 VarDecl *VarDecl::getCanonicalDecl() { return getFirstDecl(); } in getCanonicalDecl() 2267 (getFirstDecl()->isOutOfLine() in isThisDeclarationADefinition() 2349 VarDecl *First = getFirstDecl(); in getDefinition() 2360 const VarDecl *First = getFirstDecl(); in hasDefinition() 3609 FunctionDecl *FunctionDecl::getCanonicalDecl() { return getFirstDecl(); } in getCanonicalDecl() 4718 TagDecl *TagDecl::getCanonicalDecl() { return getFirstDecl(); } in getCanonicalDecl()
|
| H A D | DeclBase.cpp | 1443 return static_cast<TranslationUnitDecl *>(this)->getFirstDecl(); in getPrimaryContext() 1445 return static_cast<NamespaceDecl *>(this)->getFirstDecl(); in getPrimaryContext()
|
| H A D | DeclCXX.cpp | 2909 auto *First = cast<CXXDestructorDecl>(getFirstDecl()); in setOperatorDelete() 2983 Used = NS->getFirstDecl(); in Create() 3062 Namespace = NS->getFirstDecl(); in Create()
|
| H A D | TextNodeDumper.cpp | 37 const T *First = D->getFirstDecl(); in dumpPreviousDeclImpl() 2390 dumpDeclRef(D->getFirstDecl(), "original"); in VisitNamespaceDecl()
|
| H A D | ASTContext.cpp | 7251 NNS->getAsNamespace()->getFirstDecl()); in getCanonicalNestedNameSpecifier() 7258 NNS->getAsNamespaceAlias()->getNamespace()->getFirstDecl()); in getCanonicalNestedNameSpecifier() 8074 !VD->getFirstDecl()->isOutOfLine() && VD->getFirstDecl()->hasInit(); in isMSStaticDataMemberInlineDefinition() 8083 auto *First = VD->getFirstDecl(); in getInlineVariableDefinitionKind() 12685 cast<CXXRecordDecl>(RD->getFirstDecl())); in getCopyConstructorForExceptionObject() 12691 cast<CXXRecordDecl>(RD->getFirstDecl()), in addCopyConstructorForExceptionObject() 12692 cast<CXXConstructorDecl>(CD->getFirstDecl())); in addCopyConstructorForExceptionObject()
|
| H A D | JSONNodeDumper.cpp | 887 JOS.attribute("originalNamespace", createBareDeclRef(ND->getFirstDecl())); in VisitNamespaceDecl()
|
| H A D | RecordLayoutBuilder.cpp | 3455 assert(Method == Method->getFirstDecl() && in setNonKeyFunction()
|
| H A D | MicrosoftMangle.cpp | 601 FD = FD->getFirstDecl(); in mangleFunctionEncoding()
|
| H A D | ASTImporter.cpp | 112 for (auto *R : D->getFirstDecl()->redecls()) { in getCanonicalForwardRedeclChain() 113 if (R != D->getFirstDecl()) in getCanonicalForwardRedeclChain() 116 Redecls.push_back(D->getFirstDecl()); in getCanonicalForwardRedeclChain()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriterDecl.cpp | 469 D->getFirstDecl() == D->getMostRecentDecl() && in VisitTypedefDecl() 548 D->getFirstDecl() == D->getMostRecentDecl() && in VisitEnumDecl() 589 D->getFirstDecl() == D->getMostRecentDecl() && in VisitRecordDecl() 1192 !D->hasExtInfo() && D->getFirstDecl() == D->getMostRecentDecl() && in VisitVarDecl() 1446 D->getFirstDecl() == D->getMostRecentDecl() && !D->hasAttrs() && in VisitUsingShadowDecl() 1558 D->getFirstDecl() == D->getMostRecentDecl() && !D->isInvalidDecl() && in VisitCXXMethodDecl() 2033 T *First = D->getFirstDecl(); in VisitRedeclarable()
|
| H A D | ASTWriter.cpp | 7038 if (!TD->getFirstDecl()->isFromASTFile()) in AddedCXXTemplateSpecialization() 7050 if (!TD->getFirstDecl()->isFromASTFile()) in AddedCXXTemplateSpecialization() 7062 if (!TD->getFirstDecl()->isFromASTFile()) in AddedCXXTemplateSpecialization()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaCUDA.cpp | 514 SemaRef.InstantiateFunctionDefinition(Loc, CD->getFirstDecl()); in isEmptyConstructor() 556 SemaRef.InstantiateFunctionDefinition(Loc, DD->getFirstDecl()); in isEmptyDestructor()
|
| H A D | SemaTemplateInstantiateDecl.cpp | 1805 if (PartialSpecs[I]->getFirstDecl()->isOutOfLine()) in VisitClassTemplateDecl() 1888 if (PartialSpecs[I]->getFirstDecl()->isOutOfLine()) in VisitVarTemplateDecl() 5253 FromVar = FromVar->getFirstDecl(); in BuildVarTemplateInstantiation() 5477 if (OldVar->getFirstDecl()->hasInit()) in InstantiateVariableInitializer() 5522 (PatternDecl = PatternDecl->getFirstDecl())->hasInit() && in InstantiateVariableDefinition()
|
| H A D | SemaDecl.cpp | 1896 const FunctionDecl *First = FD->getFirstDecl(); in MarkUnusedFileScopedDecl() 1902 const VarDecl *First = VD->getFirstDecl(); in MarkUnusedFileScopedDecl() 3240 cast<FunctionDecl>(oldDecl->getDeclContext())->getFirstDecl(); in mergeParamDeclAttributes() 3697 FunctionDecl *First = Old->getFirstDecl(); in MergeFunctionDecl() 3975 } else if (OldMethod->getFirstDecl()->isExplicitlyDefaulted() && !isFriend) { in MergeFunctionDecl() 4015 Diag(Old->getFirstDecl()->getLocation(), in MergeFunctionDecl() 8420 Prev = FD->getFirstDecl(); in checkGlobalOrExternCConflict() 8422 Prev = cast<VarDecl>(Prev)->getFirstDecl(); in checkGlobalOrExternCConflict() 14599 cast<CXXRecordDecl>(VD->getFirstDecl()->getDeclContext()); in FinalizeDeclaration()
|
| H A D | SemaCast.cpp | 2167 SourceLocation NameLoc = FD->getFirstDecl()->getNameInfo().getLoc(); in DiagnoseCallingConvCast()
|
| H A D | SemaExpr.cpp | 205 const FunctionDecl *First = Cur->getFirstDecl(); in MaybeSuggestAddingStaticToDecl() 17936 Constructor = cast<CXXConstructorDecl>(Constructor->getFirstDecl()); in MarkFunctionReferenced() 17953 Destructor = cast<CXXDestructorDecl>(Destructor->getFirstDecl()); in MarkFunctionReferenced() 17964 MethodDecl = cast<CXXMethodDecl>(MethodDecl->getFirstDecl()); in MarkFunctionReferenced() 17974 cast<CXXConversionDecl>(MethodDecl->getFirstDecl()); in MarkFunctionReferenced()
|
| H A D | SemaLookup.cpp | 2328 NamespaceDecl *ND = I->getNominatedNamespace()->getFirstDecl(); in LookupQualifiedNameInUsingDirectives()
|