| /freebsd-14.2/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 | 856 return getFirstDecl(); in getCanonicalDecl() 859 return getFirstDecl(); in getCanonicalDecl() 2169 cast<ClassTemplatePartialSpecializationDecl>(getFirstDecl()); 2179 auto *First = cast<ClassTemplatePartialSpecializationDecl>(getFirstDecl()); 2201 cast<ClassTemplatePartialSpecializationDecl>(getFirstDecl()); 2960 cast<VarTemplatePartialSpecializationDecl>(getFirstDecl()); 2966 auto *First = cast<VarTemplatePartialSpecializationDecl>(getFirstDecl()); 2988 cast<VarTemplatePartialSpecializationDecl>(getFirstDecl()); 2994 auto *First = cast<VarTemplatePartialSpecializationDecl>(getFirstDecl()); 3314 return getFirstDecl(); [all …]
|
| H A D | DeclCXX.h | 3168 return getFirstDecl(); in getCanonicalDecl() 3171 return getFirstDecl(); in getCanonicalDecl() 3369 return getFirstDecl(); in getCanonicalDecl() 3372 return getFirstDecl(); in getCanonicalDecl() 3571 return cast<UsingDecl>(getFirstDecl()); in getCanonicalDecl() 3574 return cast<UsingDecl>(getFirstDecl()); in getCanonicalDecl() 3762 return cast<UsingEnumDecl>(getFirstDecl()); in getCanonicalDecl() 3929 return getFirstDecl(); in getCanonicalDecl() 3932 return getFirstDecl(); in getCanonicalDecl() 4018 return getFirstDecl(); in getCanonicalDecl() [all …]
|
| H A D | Decl.h | 3241 FieldDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 3242 const FieldDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() 3290 EnumConstantDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 3291 const EnumConstantDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() 3340 IndirectFieldDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 3341 const IndirectFieldDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() 3463 TypedefNameDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 3464 const TypedefNameDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() 4957 First = PrevDecl->getFirstDecl(); in setPreviousDecl()
|
| H A D | DeclObjC.h | 1910 ObjCInterfaceDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 1911 const ObjCInterfaceDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() 2291 ObjCProtocolDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 2292 const ObjCProtocolDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl()
|
| H A D | JSONNodeDumper.h | 173 const T *First = D->getFirstDecl(); in writePreviousDeclImpl()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | ExternalASTMerger.cpp | 360 if (T1->getFirstDecl() == T2->getFirstDecl()) in IsSameDC()
|
| H A D | ComputeDependence.cpp | 550 !Var->getFirstDecl()->hasInit()) { in computeDependence() 551 const VarDecl *First = Var->getFirstDecl(); in computeDependence()
|
| H A D | Decl.cpp | 575 const T *First = D->getFirstDecl(); in isFirstInExternCContext() 2254 VarDecl *VarDecl::getCanonicalDecl() { return getFirstDecl(); } in getCanonicalDecl() 2282 (getFirstDecl()->isOutOfLine() in isThisDeclarationADefinition() 2364 VarDecl *First = getFirstDecl(); in getDefinition() 2375 const VarDecl *First = getFirstDecl(); in hasDefinition() 3559 FunctionDecl *FunctionDecl::getCanonicalDecl() { return getFirstDecl(); } in getCanonicalDecl() 4670 TagDecl *TagDecl::getCanonicalDecl() { return getFirstDecl(); } in getCanonicalDecl()
|
| H A D | DeclBase.cpp | 1378 return static_cast<TranslationUnitDecl *>(this)->getFirstDecl(); in getPrimaryContext()
|
| H A D | ASTContext.cpp | 7618 !VD->getFirstDecl()->isOutOfLine() && VD->getFirstDecl()->hasInit(); in isMSStaticDataMemberInlineDefinition() 7627 auto *First = VD->getFirstDecl(); in getInlineVariableDefinitionKind() 12193 cast<CXXRecordDecl>(RD->getFirstDecl())); in getCopyConstructorForExceptionObject() 12199 cast<CXXRecordDecl>(RD->getFirstDecl()), in addCopyConstructorForExceptionObject() 12200 cast<CXXConstructorDecl>(CD->getFirstDecl())); in addCopyConstructorForExceptionObject()
|
| H A D | TextNodeDumper.cpp | 36 const T *First = D->getFirstDecl(); in dumpPreviousDeclImpl()
|
| H A D | DeclCXX.cpp | 2856 auto *First = cast<CXXDestructorDecl>(getFirstDecl()); in setOperatorDelete()
|
| H A D | RecordLayoutBuilder.cpp | 3443 assert(Method == Method->getFirstDecl() && in setNonKeyFunction()
|
| H A D | MicrosoftMangle.cpp | 590 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-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaCUDA.cpp | 499 InstantiateFunctionDefinition(Loc, CD->getFirstDecl()); in isEmptyCudaConstructor() 541 InstantiateFunctionDefinition(Loc, DD->getFirstDecl()); in isEmptyCudaDestructor()
|
| H A D | SemaTemplateInstantiateDecl.cpp | 1766 if (PartialSpecs[I]->getFirstDecl()->isOutOfLine()) in VisitClassTemplateDecl() 1849 if (PartialSpecs[I]->getFirstDecl()->isOutOfLine()) in VisitVarTemplateDecl() 5249 FromVar = FromVar->getFirstDecl(); in BuildVarTemplateInstantiation() 5478 if (OldVar->getFirstDecl()->hasInit()) in InstantiateVariableInitializer() 5538 (PatternDecl = PatternDecl->getFirstDecl())->hasInit() && in InstantiateVariableDefinition()
|
| H A D | SemaDecl.cpp | 1988 const FunctionDecl *First = FD->getFirstDecl(); in MarkUnusedFileScopedDecl() 1994 const VarDecl *First = VD->getFirstDecl(); in MarkUnusedFileScopedDecl() 3383 cast<FunctionDecl>(oldDecl->getDeclContext())->getFirstDecl(); in mergeParamDeclAttributes() 3851 FunctionDecl *First = Old->getFirstDecl(); in MergeFunctionDecl() 4084 } else if (OldMethod->getFirstDecl()->isExplicitlyDefaulted() && !isFriend) { in MergeFunctionDecl() 4124 Diag(Old->getFirstDecl()->getLocation(), in MergeFunctionDecl() 8610 Prev = FD->getFirstDecl(); in checkGlobalOrExternCConflict() 8612 Prev = cast<VarDecl>(Prev)->getFirstDecl(); in checkGlobalOrExternCConflict() 14794 cast<CXXRecordDecl>(VD->getFirstDecl()->getDeclContext()); in FinalizeDeclaration()
|
| H A D | SemaCast.cpp | 2158 SourceLocation NameLoc = FD->getFirstDecl()->getNameInfo().getLoc(); in DiagnoseCallingConvCast()
|
| H A D | SemaExpr.cpp | 202 const FunctionDecl *First = Cur->getFirstDecl(); in MaybeSuggestAddingStaticToDecl() 18955 Constructor = cast<CXXConstructorDecl>(Constructor->getFirstDecl()); in MarkFunctionReferenced() 18972 Destructor = cast<CXXDestructorDecl>(Destructor->getFirstDecl()); in MarkFunctionReferenced() 18983 MethodDecl = cast<CXXMethodDecl>(MethodDecl->getFirstDecl()); in MarkFunctionReferenced() 18993 cast<CXXConversionDecl>(MethodDecl->getFirstDecl()); in MarkFunctionReferenced()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriterDecl.cpp | 430 D->getFirstDecl() == D->getMostRecentDecl() && in VisitTypedefDecl() 513 D->getFirstDecl() == D->getMostRecentDecl() && in VisitEnumDecl() 554 D->getFirstDecl() == D->getMostRecentDecl() && in VisitRecordDecl() 1154 !D->hasExtInfo() && D->getFirstDecl() == D->getMostRecentDecl() && in VisitVarDecl() 1408 D->getFirstDecl() == D->getMostRecentDecl() && !D->hasAttrs() && in VisitUsingShadowDecl() 1514 D->getFirstDecl() == D->getMostRecentDecl() && !D->isInvalidDecl() && in VisitCXXMethodDecl() 1950 T *First = D->getFirstDecl(); in VisitRedeclarable()
|
| H A D | ASTWriter.cpp | 6453 if (!TD->getFirstDecl()->isFromASTFile()) in AddedCXXTemplateSpecialization() 6465 if (!TD->getFirstDecl()->isFromASTFile()) in AddedCXXTemplateSpecialization() 6477 if (!TD->getFirstDecl()->isFromASTFile()) in AddedCXXTemplateSpecialization()
|
| H A D | ASTReaderDecl.cpp | 1854 D->AnonOrFirstNamespaceAndFlags.setPointer(D->getFirstDecl()); in VisitNamespaceDecl()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | IncrementalParser.cpp | 390 TranslationUnitDecl *FirstTU = MostRecentTU->getFirstDecl(); in CleanUpPTU()
|