/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
H A D | Redeclarable.h | 215 decl_type *getFirstDecl() { return First; } in getFirstDecl() function 219 const decl_type *getFirstDecl() const { return First; } in getFirstDecl() function 226 return getFirstDecl()->getNextRedeclaration(); in getMostRecentDecl() 231 return getFirstDecl()->getNextRedeclaration(); in getMostRecentDecl() 318 decl_type *getFirstDecl() { in getFirstDecl() function 327 const decl_type *getFirstDecl() const { in getFirstDecl() function 335 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()); 2183 auto *First = cast<ClassTemplatePartialSpecializationDecl>(getFirstDecl()); 2205 cast<ClassTemplatePartialSpecializationDecl>(getFirstDecl()); 2211 auto *First = cast<ClassTemplatePartialSpecializationDecl>(getFirstDecl()); 3018 cast<VarTemplatePartialSpecializationDecl>(getFirstDecl()); 3024 auto *First = cast<VarTemplatePartialSpecializationDecl>(getFirstDecl()); 3046 cast<VarTemplatePartialSpecializationDecl>(getFirstDecl()); 3052 auto *First = cast<VarTemplatePartialSpecializationDecl>(getFirstDecl()); [all …]
|
H A D | DeclCXX.h | 3039 return getFirstDecl(); in getCanonicalDecl() 3042 return getFirstDecl(); in getCanonicalDecl() 3232 return getFirstDecl(); in getCanonicalDecl() 3235 return getFirstDecl(); in getCanonicalDecl() 3515 UsingDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 3516 const UsingDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() 3586 UsingPackDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 3587 const UsingPackDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() 3679 return getFirstDecl(); in getCanonicalDecl() 3682 return getFirstDecl(); in getCanonicalDecl() [all …]
|
H A D | Decl.h | 2999 FieldDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 3000 const FieldDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() 3040 EnumConstantDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 3041 const EnumConstantDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() 3090 IndirectFieldDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 3091 const IndirectFieldDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() 3213 TypedefNameDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 3214 const TypedefNameDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() 4569 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 | 172 const T *First = D->getFirstDecl(); in writePreviousDeclImpl()
|
/netbsd-src/external/apache2/llvm/dist/clang/docs/ |
H A D | LibASTImporter.rst | 110 auto *From = getFirstDecl<CXXRecordDecl>(Matcher, FromUnit); 208 Node *getFirstDecl(Matcher M, const std::unique_ptr<ASTUnit> &Unit) { 232 auto *From = getFirstDecl<CXXRecordDecl>(Matcher, FromUnit); 315 auto *From = getFirstDecl<ClassTemplateSpecializationDecl>(Matcher, FromUnit); 316 auto *To = getFirstDecl<ClassTemplateSpecializationDecl>(Matcher, ToUnit); 388 auto *From = getFirstDecl<FieldDecl>(Matcher, FromUnit); 401 auto *FromSpec = getFirstDecl<ClassTemplateSpecializationDecl>( 448 auto *From = getFirstDecl<CXXRecordDecl>(Matcher, FromUnit); 449 auto *To = getFirstDecl<CXXRecordDecl>(Matcher, ToUnit); 467 auto *ToYDef = getFirstDecl<CXXRecordDecl>(
|
/netbsd-src/external/apache2/llvm/dist/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() 3271 FunctionDecl *FunctionDecl::getCanonicalDecl() { return getFirstDecl(); } in getCanonicalDecl() 4274 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 | ASTContext.cpp | 6859 !VD->getFirstDecl()->isOutOfLine() && VD->getFirstDecl()->hasInit(); in isMSStaticDataMemberInlineDefinition() 6868 auto *First = VD->getFirstDecl(); in getInlineVariableDefinitionKind() 11179 cast<CXXRecordDecl>(RD->getFirstDecl())); in getCopyConstructorForExceptionObject() 11185 cast<CXXRecordDecl>(RD->getFirstDecl()), in addCopyConstructorForExceptionObject() 11186 cast<CXXConstructorDecl>(CD->getFirstDecl())); in addCopyConstructorForExceptionObject()
|
H A D | TextNodeDumper.cpp | 34 const T *First = D->getFirstDecl(); in dumpPreviousDeclImpl()
|
H A D | RecordLayoutBuilder.cpp | 3335 assert(Method == Method->getFirstDecl() && in setNonKeyFunction()
|
H A D | DeclCXX.cpp | 2772 auto *First = cast<CXXDestructorDecl>(getFirstDecl()); in setOperatorDelete()
|
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()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
H A D | SemaCUDA.cpp | 463 InstantiateFunctionDefinition(Loc, CD->getFirstDecl()); in isEmptyCudaConstructor() 505 InstantiateFunctionDefinition(Loc, DD->getFirstDecl()); in isEmptyCudaDestructor()
|
H A D | SemaTemplateInstantiateDecl.cpp | 1598 if (PartialSpecs[I]->getFirstDecl()->isOutOfLine()) in VisitClassTemplateDecl() 1681 if (PartialSpecs[I]->getFirstDecl()->isOutOfLine()) in VisitVarTemplateDecl() 4923 FromVar = FromVar->getFirstDecl(); in BuildVarTemplateInstantiation() 5154 if (OldVar->getFirstDecl()->hasInit()) in InstantiateVariableInitializer() 5214 (PatternDecl = PatternDecl->getFirstDecl())->hasInit() && in InstantiateVariableDefinition()
|
H A D | SemaDecl.cpp | 1743 const FunctionDecl *First = FD->getFirstDecl(); in MarkUnusedFileScopedDecl() 1749 const VarDecl *First = VD->getFirstDecl(); in MarkUnusedFileScopedDecl() 2996 cast<FunctionDecl>(oldDecl->getDeclContext())->getFirstDecl(); in mergeParamDeclAttributes() 3360 FunctionDecl *First = Old->getFirstDecl(); in MergeFunctionDecl() 3605 } else if (OldMethod->getFirstDecl()->isExplicitlyDefaulted() && !isFriend) { in MergeFunctionDecl() 3620 Diag(Old->getFirstDecl()->getLocation(), in MergeFunctionDecl() 3632 Diag(Old->getFirstDecl()->getLocation(), in MergeFunctionDecl() 7839 Prev = FD->getFirstDecl(); in checkGlobalOrExternCConflict() 7841 Prev = cast<VarDecl>(Prev)->getFirstDecl(); in checkGlobalOrExternCConflict() 13373 cast<CXXRecordDecl>(VD->getFirstDecl()->getDeclContext()); in FinalizeDeclaration()
|
H A D | SemaCast.cpp | 2099 SourceLocation NameLoc = FD->getFirstDecl()->getNameInfo().getLoc(); in DiagnoseCallingConvCast()
|
H A D | SemaExpr.cpp | 189 const FunctionDecl *First = Cur->getFirstDecl(); in MaybeSuggestAddingStaticToDecl() 16964 Constructor = cast<CXXConstructorDecl>(Constructor->getFirstDecl()); in MarkFunctionReferenced() 16981 Destructor = cast<CXXDestructorDecl>(Destructor->getFirstDecl()); in MarkFunctionReferenced() 16992 MethodDecl = cast<CXXMethodDecl>(MethodDecl->getFirstDecl()); in MarkFunctionReferenced() 17002 cast<CXXConversionDecl>(MethodDecl->getFirstDecl()); in MarkFunctionReferenced()
|
H A D | SemaOverload.cpp | 11079 FunctionDecl *First = Cand->Function->getFirstDecl(); in DiagnoseFailedExplicitSpec() 11081 First = Pattern->getFirstDecl(); in DiagnoseFailedExplicitSpec()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/ |
H A D | ASTWriterDecl.cpp | 390 D->getFirstDecl() == D->getMostRecentDecl() && in VisitTypedefDecl() 458 D->getFirstDecl() == D->getMostRecentDecl() && in VisitEnumDecl() 495 D->getFirstDecl() == D->getMostRecentDecl() && in VisitRecordDecl() 1066 D->getFirstDecl() == D->getMostRecentDecl() && in VisitVarDecl() 1379 D->getFirstDecl() == D->getMostRecentDecl() && in VisitCXXMethodDecl() 1782 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 | 1617 D->AnonOrFirstNamespaceAndInline.setPointer(D->getFirstDecl()); in VisitNamespaceDecl()
|