| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | Redeclarable.h | 213 decl_type *getFirstDecl() { return First; } in getFirstDecl() function 217 const decl_type *getFirstDecl() const { return First; } in getFirstDecl() function 224 return getFirstDecl()->getNextRedeclaration(); in getMostRecentDecl() 229 return getFirstDecl()->getNextRedeclaration(); in getMostRecentDecl() 317 decl_type *getFirstDecl() { in getFirstDecl() function 326 const decl_type *getFirstDecl() const { in getFirstDecl() function 334 bool isFirstDecl() const { return getFirstDecl() == this; } in isFirstDecl()
|
| H A D | DeclTemplate.h | 827 return getFirstDecl(); in getCanonicalDecl() 830 return getFirstDecl(); in getCanonicalDecl() 2188 cast<ClassTemplatePartialSpecializationDecl>(getFirstDecl()); 2198 auto *First = cast<ClassTemplatePartialSpecializationDecl>(getFirstDecl()); 2220 cast<ClassTemplatePartialSpecializationDecl>(getFirstDecl()); 2226 auto *First = cast<ClassTemplatePartialSpecializationDecl>(getFirstDecl()); 2963 cast<VarTemplatePartialSpecializationDecl>(getFirstDecl()); 2969 auto *First = cast<VarTemplatePartialSpecializationDecl>(getFirstDecl()); 2991 cast<VarTemplatePartialSpecializationDecl>(getFirstDecl()); 2997 auto *First = cast<VarTemplatePartialSpecializationDecl>(getFirstDecl()); [all …]
|
| H A D | DeclCXX.h | 3245 return getFirstDecl(); in getCanonicalDecl() 3248 return getFirstDecl(); in getCanonicalDecl() 3446 return getFirstDecl(); in getCanonicalDecl() 3449 return getFirstDecl(); in getCanonicalDecl() 3648 return cast<UsingDecl>(getFirstDecl()); in getCanonicalDecl() 3651 return cast<UsingDecl>(getFirstDecl()); in getCanonicalDecl() 3839 return cast<UsingEnumDecl>(getFirstDecl()); in getCanonicalDecl() 3842 return cast<UsingEnumDecl>(getFirstDecl()); in getCanonicalDecl() 3912 UsingPackDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 3913 const UsingPackDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() [all …]
|
| H A D | Decl.h | 158 TranslationUnitDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 159 const TranslationUnitDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() 655 return getFirstDecl()->AnonymousNamespace; in getAnonymousNamespace() 659 getFirstDecl()->AnonymousNamespace = D; in setAnonymousNamespace() 663 NamespaceDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 664 const NamespaceDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() 3375 FieldDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 3376 const FieldDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() 3424 EnumConstantDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 3425 const EnumConstantDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() [all …]
|
| H A D | DeclObjC.h | 1912 ObjCInterfaceDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 1913 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/ByteCode/ |
| H A D | Record.cpp | 41 auto It = FieldMap.find(FD->getFirstDecl()); in getField()
|
| H A D | Program.cpp | 362 FD = FD->getFirstDecl(); in getOrCreateRecord()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | ExternalASTMerger.cpp | 358 if (T1->getFirstDecl() == T2->getFirstDecl()) in IsSameDC()
|
| H A D | ComputeDependence.cpp | 589 !Var->getFirstDecl()->hasInit()) { in computeDependence() 590 const VarDecl *First = Var->getFirstDecl(); in computeDependence()
|
| H A D | Decl.cpp | 575 const T *First = D->getFirstDecl(); in isFirstInExternCContext() 2256 VarDecl *VarDecl::getCanonicalDecl() { return getFirstDecl(); } in getCanonicalDecl() 2284 (getFirstDecl()->isOutOfLine() in isThisDeclarationADefinition() 2366 VarDecl *First = getFirstDecl(); in getDefinition() 2377 const VarDecl *First = getFirstDecl(); in hasDefinition() 3680 FunctionDecl *FunctionDecl::getCanonicalDecl() { return getFirstDecl(); } in getCanonicalDecl() 4829 TagDecl *TagDecl::getCanonicalDecl() { return getFirstDecl(); } in getCanonicalDecl()
|
| H A D | DeclBase.cpp | 1489 return static_cast<TranslationUnitDecl *>(this)->getFirstDecl(); in getPrimaryContext() 1491 return static_cast<NamespaceDecl *>(this)->getFirstDecl(); in getPrimaryContext()
|
| H A D | DeclCXX.cpp | 3112 auto *First = cast<CXXDestructorDecl>(getFirstDecl()); in setOperatorDelete() 3208 Used = NS->getFirstDecl(); in Create() 3287 Namespace = NS->getFirstDecl(); in Create()
|
| H A D | TextNodeDumper.cpp | 38 const T *First = D->getFirstDecl(); in dumpPreviousDeclImpl() 2549 dumpDeclRef(D->getFirstDecl(), "original"); in VisitNamespaceDecl()
|
| H A D | ASTContext.cpp | 7845 NNS->getAsNamespace()->getFirstDecl()); in getCanonicalNestedNameSpecifier() 7852 NNS->getAsNamespaceAlias()->getNamespace()->getFirstDecl()); in getCanonicalNestedNameSpecifier() 8672 !VD->getFirstDecl()->isOutOfLine() && VD->getFirstDecl()->hasInit(); in isMSStaticDataMemberInlineDefinition() 8681 auto *First = VD->getFirstDecl(); in getInlineVariableDefinitionKind() 13343 cast<CXXRecordDecl>(RD->getFirstDecl())); in getCopyConstructorForExceptionObject() 13349 cast<CXXRecordDecl>(RD->getFirstDecl()), in addCopyConstructorForExceptionObject() 13350 cast<CXXConstructorDecl>(CD->getFirstDecl())); in addCopyConstructorForExceptionObject()
|
| H A D | MicrosoftMangle.cpp | 636 FD = FD->getFirstDecl(); in mangleFunctionEncoding() 3003 ->getFirstDecl() in mangleFunctionType()
|
| H A D | JSONNodeDumper.cpp | 889 JOS.attribute("originalNamespace", createBareDeclRef(ND->getFirstDecl())); in VisitNamespaceDecl()
|
| H A D | RecordLayoutBuilder.cpp | 3496 assert(Method == Method->getFirstDecl() && in setNonKeyFunction()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriterDecl.cpp | 622 D->getFirstDecl() == D->getMostRecentDecl() && in VisitTypedefDecl() 701 D->getFirstDecl() == D->getMostRecentDecl() && in VisitEnumDecl() 743 D->getFirstDecl() == D->getMostRecentDecl() && in VisitRecordDecl() 1355 !D->hasExtInfo() && D->getFirstDecl() == D->getMostRecentDecl() && in VisitVarDecl() 1621 D->getFirstDecl() == D->getMostRecentDecl() && !D->hasAttrs() && in VisitUsingShadowDecl() 1740 D->getFirstDecl() == D->getMostRecentDecl() && !D->isInvalidDecl() && in VisitCXXMethodDecl() 2229 T *First = D->getFirstDecl(); in VisitRedeclarable()
|
| H A D | ASTWriter.cpp | 7710 if (!TD->getFirstDecl()->isFromASTFile()) in AddedCXXTemplateSpecialization() 7722 if (!TD->getFirstDecl()->isFromASTFile()) in AddedCXXTemplateSpecialization() 7734 if (!TD->getFirstDecl()->isFromASTFile()) in AddedCXXTemplateSpecialization()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaCUDA.cpp | 529 SemaRef.InstantiateFunctionDefinition(Loc, CD->getFirstDecl()); in isEmptyConstructor() 571 SemaRef.InstantiateFunctionDefinition(Loc, DD->getFirstDecl()); in isEmptyDestructor()
|
| H A D | SemaTemplateInstantiateDecl.cpp | 2333 if (PartialSpecs[I]->getFirstDecl()->isOutOfLine()) in VisitClassTemplateDecl() 2416 if (PartialSpecs[I]->getFirstDecl()->isOutOfLine()) in VisitVarTemplateDecl() 5928 FromVar = FromVar->getFirstDecl(); in BuildVarTemplateInstantiation() 6154 if (OldVar->getFirstDecl()->hasInit()) in InstantiateVariableInitializer() 6199 (PatternDecl = PatternDecl->getFirstDecl())->hasInit() && in InstantiateVariableDefinition()
|
| H A D | SemaDecl.cpp | 1913 const FunctionDecl *First = FD->getFirstDecl(); in MarkUnusedFileScopedDecl() 1919 const VarDecl *First = VD->getFirstDecl(); in MarkUnusedFileScopedDecl() 3340 cast<FunctionDecl>(oldDecl->getDeclContext())->getFirstDecl(); in mergeParamDeclAttributes() 3766 FunctionDecl *First = Old->getFirstDecl(); in MergeFunctionDecl() 4051 } else if (OldMethod->getFirstDecl()->isExplicitlyDefaulted() && !isFriend) { in MergeFunctionDecl() 4091 Diag(Old->getFirstDecl()->getLocation(), in MergeFunctionDecl() 8619 Prev = FD->getFirstDecl(); in checkGlobalOrExternCConflict() 8621 Prev = cast<VarDecl>(Prev)->getFirstDecl(); in checkGlobalOrExternCConflict() 14987 cast<CXXRecordDecl>(VD->getFirstDecl()->getDeclContext()); in FinalizeDeclaration()
|
| H A D | SemaCast.cpp | 2199 SourceLocation NameLoc = FD->getFirstDecl()->getNameInfo().getLoc(); in DiagnoseCallingConvCast()
|
| H A D | SemaExpr.cpp | 207 const FunctionDecl *First = Cur->getFirstDecl(); in MaybeSuggestAddingStaticToDecl() 18370 Constructor = cast<CXXConstructorDecl>(Constructor->getFirstDecl()); in MarkFunctionReferenced() 18387 Destructor = cast<CXXDestructorDecl>(Destructor->getFirstDecl()); in MarkFunctionReferenced() 18398 MethodDecl = cast<CXXMethodDecl>(MethodDecl->getFirstDecl()); in MarkFunctionReferenced() 18408 cast<CXXConversionDecl>(MethodDecl->getFirstDecl()); in MarkFunctionReferenced()
|