| /freebsd-12.1/contrib/llvm/tools/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 | DeclCXX.h | 3076 return getFirstDecl(); 3079 return getFirstDecl(); 3193 return getFirstDecl(); 3196 return getFirstDecl(); 3482 UsingDecl *getCanonicalDecl() override { return getFirstDecl(); } 3483 const UsingDecl *getCanonicalDecl() const { return getFirstDecl(); } 3553 UsingPackDecl *getCanonicalDecl() override { return getFirstDecl(); } 3646 return getFirstDecl(); 3649 return getFirstDecl(); 3735 return getFirstDecl(); [all …]
|
| H A D | DeclTemplate.h | 856 return getFirstDecl(); in getCanonicalDecl() 859 return getFirstDecl(); in getCanonicalDecl() 1986 cast<ClassTemplatePartialSpecializationDecl>(getFirstDecl()); 1996 auto *First = cast<ClassTemplatePartialSpecializationDecl>(getFirstDecl()); 2018 cast<ClassTemplatePartialSpecializationDecl>(getFirstDecl()); 2024 auto *First = cast<ClassTemplatePartialSpecializationDecl>(getFirstDecl()); 2814 cast<VarTemplatePartialSpecializationDecl>(getFirstDecl()); 2820 auto *First = cast<VarTemplatePartialSpecializationDecl>(getFirstDecl()); 2842 cast<VarTemplatePartialSpecializationDecl>(getFirstDecl()); 2848 auto *First = cast<VarTemplatePartialSpecializationDecl>(getFirstDecl());
|
| H A D | Decl.h | 2774 FieldDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 2775 const FieldDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() 2815 EnumConstantDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 2816 const EnumConstantDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() 2865 IndirectFieldDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 2866 const IndirectFieldDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() 2988 TypedefNameDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 2989 const TypedefNameDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() 4299 First = PrevDecl->getFirstDecl(); in setPreviousDecl()
|
| H A D | DeclObjC.h | 1915 ObjCInterfaceDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 1916 const ObjCInterfaceDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() 2250 ObjCProtocolDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 2251 const ObjCProtocolDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | ExternalASTMerger.cpp | 278 if (T1->getFirstDecl() == T2->getFirstDecl()) in IsSameDC()
|
| H A D | Decl.cpp | 560 const T *First = D->getFirstDecl(); in isFirstInExternCContext() 2026 VarDecl *VarDecl::getCanonicalDecl() { return getFirstDecl(); } in getCanonicalDecl() 2054 (getFirstDecl()->isOutOfLine() in isThisDeclarationADefinition() 2121 VarDecl *First = getFirstDecl(); in getActingDefinition() 2133 VarDecl *First = getFirstDecl(); in getDefinition() 2144 const VarDecl *First = getFirstDecl(); in hasDefinition() 2983 FunctionDecl *FunctionDecl::getCanonicalDecl() { return getFirstDecl(); } in getCanonicalDecl() 3005 dyn_cast<LinkageSpecDecl>(getFirstDecl()->getDeclContext()); in getBuiltinID() 3866 TagDecl *TagDecl::getCanonicalDecl() { return getFirstDecl(); } in getCanonicalDecl()
|
| H A D | TextNodeDumper.cpp | 26 const T *First = D->getFirstDecl(); in dumpPreviousDeclImpl()
|
| H A D | ASTContext.cpp | 6153 !VD->getFirstDecl()->isOutOfLine() && VD->getFirstDecl()->hasInit(); in isMSStaticDataMemberInlineDefinition() 6162 auto *First = VD->getFirstDecl(); in getInlineVariableDefinitionKind() 10088 cast<CXXRecordDecl>(RD->getFirstDecl())); in getCopyConstructorForExceptionObject() 10094 cast<CXXRecordDecl>(RD->getFirstDecl()), in addCopyConstructorForExceptionObject() 10095 cast<CXXConstructorDecl>(CD->getFirstDecl())); in addCopyConstructorForExceptionObject()
|
| H A D | DeclCXX.cpp | 2478 auto *First = cast<CXXDestructorDecl>(getFirstDecl()); in setOperatorDelete()
|
| H A D | RecordLayoutBuilder.cpp | 3079 assert(Method == Method->getFirstDecl() && in setNonKeyFunction()
|
| H A D | MicrosoftMangle.cpp | 498 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()
|
| H A D | Expr.cpp | 311 TypeSourceInfo *TInfo = Var->getFirstDecl()->getTypeSourceInfo(); in computeDeclRefDependence()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaCUDA.cpp | 396 InstantiateFunctionDefinition(Loc, CD->getFirstDecl()); in isEmptyCudaConstructor() 434 InstantiateFunctionDefinition(Loc, DD->getFirstDecl()); in isEmptyCudaDestructor()
|
| H A D | SemaTemplateInstantiateDecl.cpp | 1331 if (PartialSpecs[I]->getFirstDecl()->isOutOfLine()) in VisitClassTemplateDecl() 1414 if (PartialSpecs[I]->getFirstDecl()->isOutOfLine()) in VisitVarTemplateDecl() 4120 FromVar = FromVar->getFirstDecl(); in BuildVarTemplateInstantiation() 4311 if (OldVar->getFirstDecl()->hasInit()) in InstantiateVariableInitializer() 4403 (PatternDecl = PatternDecl->getFirstDecl())->hasInit() && in InstantiateVariableDefinition()
|
| H A D | SemaDecl.cpp | 1623 const FunctionDecl *First = FD->getFirstDecl(); in MarkUnusedFileScopedDecl() 1629 const VarDecl *First = VD->getFirstDecl(); in MarkUnusedFileScopedDecl() 2738 cast<FunctionDecl>(oldDecl->getDeclContext())->getFirstDecl(); in mergeParamDeclAttributes() 3119 FunctionDecl *First = Old->getFirstDecl(); in MergeFunctionDecl() 3353 } else if (OldMethod->getFirstDecl()->isExplicitlyDefaulted() && !isFriend) { in MergeFunctionDecl() 3368 Diag(Old->getFirstDecl()->getLocation(), in MergeFunctionDecl() 3380 Diag(Old->getFirstDecl()->getLocation(), in MergeFunctionDecl() 7235 Prev = FD->getFirstDecl(); in checkGlobalOrExternCConflict() 7237 Prev = cast<VarDecl>(Prev)->getFirstDecl(); in checkGlobalOrExternCConflict() 12103 cast<CXXRecordDecl>(VD->getFirstDecl()->getDeclContext()); in FinalizeDeclaration()
|
| H A D | SemaCast.cpp | 1897 SourceLocation NameLoc = FD->getFirstDecl()->getNameInfo().getLoc(); in DiagnoseCallingConvCast()
|
| H A D | SemaExpr.cpp | 190 const FunctionDecl *First = Cur->getFirstDecl(); in MaybeSuggestAddingStaticToDecl() 14691 Constructor = cast<CXXConstructorDecl>(Constructor->getFirstDecl()); in MarkFunctionReferenced() 14707 Destructor = cast<CXXDestructorDecl>(Destructor->getFirstDecl()); in MarkFunctionReferenced() 14718 MethodDecl = cast<CXXMethodDecl>(MethodDecl->getFirstDecl()); in MarkFunctionReferenced() 14728 cast<CXXConversionDecl>(MethodDecl->getFirstDecl()); in MarkFunctionReferenced()
|
| H A D | SemaTemplate.cpp | 8166 cast<FunctionTemplateDecl>(FunTmpl->getFirstDecl()), in CheckFunctionTemplateSpecialization()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/ |
| H A D | ASTWriterDecl.cpp | 384 D->getFirstDecl() == D->getMostRecentDecl() && in VisitTypedefDecl() 452 D->getFirstDecl() == D->getMostRecentDecl() && in VisitEnumDecl() 486 D->getFirstDecl() == D->getMostRecentDecl() && in VisitRecordDecl() 1005 D->getFirstDecl() == D->getMostRecentDecl() && in VisitVarDecl() 1308 D->getFirstDecl() == D->getMostRecentDecl() && in VisitCXXMethodDecl() 1681 T *First = D->getFirstDecl(); in VisitRedeclarable()
|
| H A D | ASTWriter.cpp | 6439 if (!TD->getFirstDecl()->isFromASTFile()) in AddedCXXTemplateSpecialization() 6451 if (!TD->getFirstDecl()->isFromASTFile()) in AddedCXXTemplateSpecialization() 6463 if (!TD->getFirstDecl()->isFromASTFile()) in AddedCXXTemplateSpecialization()
|
| H A D | ASTReaderDecl.cpp | 1546 D->AnonOrFirstNamespaceAndInline.setPointer(D->getFirstDecl()); in VisitNamespaceDecl()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CodeGenModule.cpp | 3415 const SomeDecl *First = D->getFirstDecl(); in MaybeHandleStaticInExternC()
|