| /freebsd-13.1/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() 319 decl_type *getFirstDecl() { in getFirstDecl() function 328 const decl_type *getFirstDecl() const { in getFirstDecl() function 336 bool isFirstDecl() const { return getFirstDecl() == this; } in isFirstDecl()
|
| H A D | DeclTemplate.h | 861 return getFirstDecl(); in getCanonicalDecl() 864 return getFirstDecl(); in getCanonicalDecl() 2173 cast<ClassTemplatePartialSpecializationDecl>(getFirstDecl()); 2205 cast<ClassTemplatePartialSpecializationDecl>(getFirstDecl()); 3018 cast<VarTemplatePartialSpecializationDecl>(getFirstDecl()); 3024 auto *First = cast<VarTemplatePartialSpecializationDecl>(getFirstDecl()); 3046 cast<VarTemplatePartialSpecializationDecl>(getFirstDecl()); 3259 ConceptDecl *getCanonicalDecl() override { return getFirstDecl(); } 3260 const ConceptDecl *getCanonicalDecl() const { return getFirstDecl(); } 3329 return getFirstDecl(); [all …]
|
| H A D | DeclCXX.h | 3041 return getFirstDecl(); in getCanonicalDecl() 3044 return getFirstDecl(); in getCanonicalDecl() 3242 return getFirstDecl(); in getCanonicalDecl() 3245 return getFirstDecl(); in getCanonicalDecl() 3444 return cast<UsingDecl>(getFirstDecl()); in getCanonicalDecl() 3447 return cast<UsingDecl>(getFirstDecl()); in getCanonicalDecl() 3620 return cast<UsingEnumDecl>(getFirstDecl()); in getCanonicalDecl() 3787 return getFirstDecl(); in getCanonicalDecl() 3790 return getFirstDecl(); in getCanonicalDecl() 3876 return getFirstDecl(); in getCanonicalDecl() [all …]
|
| H A D | Decl.h | 3025 FieldDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 3026 const FieldDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() 3066 EnumConstantDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 3067 const EnumConstantDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() 3116 IndirectFieldDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 3117 const IndirectFieldDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() 3239 TypedefNameDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 3240 const TypedefNameDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() 4595 First = PrevDecl->getFirstDecl(); in setPreviousDecl()
|
| H A D | DeclObjC.h | 1891 ObjCInterfaceDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 1892 const ObjCInterfaceDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() 2234 ObjCProtocolDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 2235 const ObjCProtocolDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl()
|
| H A D | JSONNodeDumper.h | 173 const T *First = D->getFirstDecl(); in writePreviousDeclImpl()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | ExternalASTMerger.cpp | 363 if (T1->getFirstDecl() == T2->getFirstDecl()) in IsSameDC()
|
| H A D | Decl.cpp | 560 const T *First = D->getFirstDecl(); in isFirstInExternCContext() 2125 VarDecl *VarDecl::getCanonicalDecl() { return getFirstDecl(); } in getCanonicalDecl() 2153 (getFirstDecl()->isOutOfLine() in isThisDeclarationADefinition() 2219 VarDecl *First = getFirstDecl(); in getActingDefinition() 2231 VarDecl *First = getFirstDecl(); in getDefinition() 2242 const VarDecl *First = getFirstDecl(); in hasDefinition() 3264 FunctionDecl *FunctionDecl::getCanonicalDecl() { return getFirstDecl(); } in getCanonicalDecl() 4267 TagDecl *TagDecl::getCanonicalDecl() { return getFirstDecl(); } in getCanonicalDecl()
|
| H A D | ComputeDependence.cpp | 515 !Var->getFirstDecl()->hasInit()) { in computeDependence() 516 const VarDecl *First = Var->getFirstDecl(); in computeDependence()
|
| H A D | DeclBase.cpp | 1234 return static_cast<TranslationUnitDecl *>(this)->getFirstDecl(); in getPrimaryContext()
|
| H A D | ASTContext.cpp | 6878 !VD->getFirstDecl()->isOutOfLine() && VD->getFirstDecl()->hasInit(); in isMSStaticDataMemberInlineDefinition() 6887 auto *First = VD->getFirstDecl(); in getInlineVariableDefinitionKind() 11253 cast<CXXRecordDecl>(RD->getFirstDecl())); in getCopyConstructorForExceptionObject() 11259 cast<CXXRecordDecl>(RD->getFirstDecl()), in addCopyConstructorForExceptionObject() 11260 cast<CXXConstructorDecl>(CD->getFirstDecl())); in addCopyConstructorForExceptionObject()
|
| H A D | TextNodeDumper.cpp | 35 const T *First = D->getFirstDecl(); in dumpPreviousDeclImpl()
|
| H A D | DeclCXX.cpp | 2758 auto *First = cast<CXXDestructorDecl>(getFirstDecl()); in setOperatorDelete()
|
| H A D | RecordLayoutBuilder.cpp | 3341 assert(Method == Method->getFirstDecl() && in setNonKeyFunction()
|
| H A D | MicrosoftMangle.cpp | 568 FD = FD->getFirstDecl(); in mangleFunctionEncoding()
|
| H A D | ASTImporter.cpp | 114 for (auto *R : D->getFirstDecl()->redecls()) { in getCanonicalForwardRedeclChain() 115 if (R != D->getFirstDecl()) in getCanonicalForwardRedeclChain() 118 Redecls.push_back(D->getFirstDecl()); in getCanonicalForwardRedeclChain()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | IncrementalParser.cpp | 181 TranslationUnitDecl *FirstTU = MostRecentTU->getFirstDecl(); in ParseOrWrapTopLevelDecl()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaCUDA.cpp | 466 InstantiateFunctionDefinition(Loc, CD->getFirstDecl()); in isEmptyCudaConstructor() 508 InstantiateFunctionDefinition(Loc, DD->getFirstDecl()); in isEmptyCudaDestructor()
|
| H A D | SemaTemplateInstantiateDecl.cpp | 1653 if (PartialSpecs[I]->getFirstDecl()->isOutOfLine()) in VisitClassTemplateDecl() 1736 if (PartialSpecs[I]->getFirstDecl()->isOutOfLine()) in VisitVarTemplateDecl() 5116 FromVar = FromVar->getFirstDecl(); in BuildVarTemplateInstantiation() 5346 if (OldVar->getFirstDecl()->hasInit()) in InstantiateVariableInitializer() 5406 (PatternDecl = PatternDecl->getFirstDecl())->hasInit() && in InstantiateVariableDefinition()
|
| H A D | SemaDecl.cpp | 1756 const FunctionDecl *First = FD->getFirstDecl(); in MarkUnusedFileScopedDecl() 1762 const VarDecl *First = VD->getFirstDecl(); in MarkUnusedFileScopedDecl() 3048 cast<FunctionDecl>(oldDecl->getDeclContext())->getFirstDecl(); in mergeParamDeclAttributes() 3423 FunctionDecl *First = Old->getFirstDecl(); in MergeFunctionDecl() 3668 } else if (OldMethod->getFirstDecl()->isExplicitlyDefaulted() && !isFriend) { in MergeFunctionDecl() 3683 Diag(Old->getFirstDecl()->getLocation(), in MergeFunctionDecl() 3695 Diag(Old->getFirstDecl()->getLocation(), in MergeFunctionDecl() 7905 Prev = FD->getFirstDecl(); in checkGlobalOrExternCConflict() 7907 Prev = cast<VarDecl>(Prev)->getFirstDecl(); in checkGlobalOrExternCConflict() 13429 cast<CXXRecordDecl>(VD->getFirstDecl()->getDeclContext()); in FinalizeDeclaration()
|
| H A D | SemaCast.cpp | 2109 SourceLocation NameLoc = FD->getFirstDecl()->getNameInfo().getLoc(); in DiagnoseCallingConvCast()
|
| H A D | SemaExpr.cpp | 194 const FunctionDecl *First = Cur->getFirstDecl(); in MaybeSuggestAddingStaticToDecl() 17125 Constructor = cast<CXXConstructorDecl>(Constructor->getFirstDecl()); in MarkFunctionReferenced() 17142 Destructor = cast<CXXDestructorDecl>(Destructor->getFirstDecl()); in MarkFunctionReferenced() 17153 MethodDecl = cast<CXXMethodDecl>(MethodDecl->getFirstDecl()); in MarkFunctionReferenced() 17163 cast<CXXConversionDecl>(MethodDecl->getFirstDecl()); in MarkFunctionReferenced()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriterDecl.cpp | 392 D->getFirstDecl() == D->getMostRecentDecl() && in VisitTypedefDecl() 460 D->getFirstDecl() == D->getMostRecentDecl() && in VisitEnumDecl() 497 D->getFirstDecl() == D->getMostRecentDecl() && in VisitRecordDecl() 1068 D->getFirstDecl() == D->getMostRecentDecl() && in VisitVarDecl() 1397 D->getFirstDecl() == D->getMostRecentDecl() && in VisitCXXMethodDecl() 1800 T *First = D->getFirstDecl(); in VisitRedeclarable()
|
| H A D | ASTWriter.cpp | 5948 if (!TD->getFirstDecl()->isFromASTFile()) in AddedCXXTemplateSpecialization() 5960 if (!TD->getFirstDecl()->isFromASTFile()) in AddedCXXTemplateSpecialization() 5972 if (!TD->getFirstDecl()->isFromASTFile()) in AddedCXXTemplateSpecialization()
|
| H A D | ASTReaderDecl.cpp | 1619 D->AnonOrFirstNamespaceAndInline.setPointer(D->getFirstDecl()); in VisitNamespaceDecl()
|