Home
last modified time | relevance | path

Searched refs:getFirstDecl (Results 1 – 25 of 49) sorted by relevance

12

/external/clang/include/clang/AST/
DRedeclarable.h156 decl_type *getFirstDecl() { return First; } in getFirstDecl() function
160 const decl_type *getFirstDecl() const { return First; } in getFirstDecl() function
167 return getFirstDecl()->getNextRedeclaration(); in getMostRecentDecl()
172 return getFirstDecl()->getNextRedeclaration(); in getMostRecentDecl()
263 decl_type *getFirstDecl() { in getFirstDecl() function
272 const decl_type *getFirstDecl() const { in getFirstDecl() function
280 bool isFirstDecl() const { return getFirstDecl() == this; } in isFirstDecl()
DDeclCXX.h2239 return cast<CXXConstructorDecl>(getFirstDecl())->isExplicitSpecified(); in isExplicit()
2440 return cast<CXXDestructorDecl>(getFirstDecl())->OperatorDelete; in getOperatorDelete()
2497 return cast<CXXConversionDecl>(getFirstDecl())->isExplicitSpecified(); in isExplicit()
2772 return getFirstDecl(); in getCanonicalDecl()
2775 return getFirstDecl(); in getCanonicalDecl()
2881 return getFirstDecl(); in getCanonicalDecl()
2884 return getFirstDecl(); in getCanonicalDecl()
3164 UsingDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl()
3165 const UsingDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl()
3244 return getFirstDecl(); in getCanonicalDecl()
[all …]
DDeclTemplate.h724 return getFirstDecl(); in getCanonicalDecl()
727 return getFirstDecl(); in getCanonicalDecl()
1868 cast<ClassTemplatePartialSpecializationDecl>(getFirstDecl());
1879 cast<ClassTemplatePartialSpecializationDecl>(getFirstDecl());
1901 cast<ClassTemplatePartialSpecializationDecl>(getFirstDecl());
1908 cast<ClassTemplatePartialSpecializationDecl>(getFirstDecl());
2697 cast<VarTemplatePartialSpecializationDecl>(getFirstDecl());
2704 cast<VarTemplatePartialSpecializationDecl>(getFirstDecl());
2726 cast<VarTemplatePartialSpecializationDecl>(getFirstDecl());
2733 cast<VarTemplatePartialSpecializationDecl>(getFirstDecl());
DDecl.h2466 FieldDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl()
2467 const FieldDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl()
2508 EnumConstantDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl()
2509 const EnumConstantDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl()
2558 IndirectFieldDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl()
2559 const IndirectFieldDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl()
2662 TypedefNameDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl()
2663 const TypedefNameDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl()
3828 First = PrevDecl->getFirstDecl(); in setPreviousDecl()
DDeclObjC.h1815 ObjCInterfaceDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl()
1816 const ObjCInterfaceDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl()
2137 ObjCProtocolDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl()
2138 const ObjCProtocolDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl()
/external/llvm-project/clang/include/clang/AST/
DRedeclarable.h215 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()
DDeclTemplate.h860 return getFirstDecl(); in getCanonicalDecl()
863 return getFirstDecl(); in getCanonicalDecl()
2172 cast<ClassTemplatePartialSpecializationDecl>(getFirstDecl());
2182 auto *First = cast<ClassTemplatePartialSpecializationDecl>(getFirstDecl());
2204 cast<ClassTemplatePartialSpecializationDecl>(getFirstDecl());
2210 auto *First = cast<ClassTemplatePartialSpecializationDecl>(getFirstDecl());
3017 cast<VarTemplatePartialSpecializationDecl>(getFirstDecl());
3023 auto *First = cast<VarTemplatePartialSpecializationDecl>(getFirstDecl());
3045 cast<VarTemplatePartialSpecializationDecl>(getFirstDecl());
3051 auto *First = cast<VarTemplatePartialSpecializationDecl>(getFirstDecl());
[all …]
DDeclCXX.h3018 return getFirstDecl(); in getCanonicalDecl()
3021 return getFirstDecl(); in getCanonicalDecl()
3211 return getFirstDecl(); in getCanonicalDecl()
3214 return getFirstDecl(); in getCanonicalDecl()
3494 UsingDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl()
3495 const UsingDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl()
3565 UsingPackDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl()
3566 const UsingPackDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl()
3658 return getFirstDecl(); in getCanonicalDecl()
3661 return getFirstDecl(); in getCanonicalDecl()
[all …]
DDecl.h2979 FieldDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl()
2980 const FieldDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl()
3020 EnumConstantDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl()
3021 const EnumConstantDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl()
3070 IndirectFieldDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl()
3071 const IndirectFieldDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl()
3193 TypedefNameDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl()
3194 const TypedefNameDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl()
4549 First = PrevDecl->getFirstDecl(); in setPreviousDecl()
DDeclObjC.h1913 ObjCInterfaceDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl()
1914 const ObjCInterfaceDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl()
2256 ObjCProtocolDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl()
2257 const ObjCProtocolDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl()
DJSONNodeDumper.h172 const T *First = D->getFirstDecl(); in writePreviousDeclImpl()
/external/llvm-project/clang/docs/
DLibASTImporter.rst110 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>(
/external/llvm-project/clang-tools-extra/clang-tidy/performance/
DTriviallyDestructibleCheck.cpp56 const auto *FirstDecl = cast<CXXMethodDecl>(MatchedDecl->getFirstDecl()); in check()
/external/clang/lib/Sema/
DSemaCUDA.cpp357 InstantiateFunctionDefinition(Loc, CD->getFirstDecl()); in isEmptyCudaConstructor()
395 InstantiateFunctionDefinition(Loc, DD->getFirstDecl()); in isEmptyCudaDestructor()
DSemaTemplateInstantiateDecl.cpp1212 if (PartialSpecs[I]->getFirstDecl()->isOutOfLine()) in VisitClassTemplateDecl()
1295 if (PartialSpecs[I]->getFirstDecl()->isOutOfLine()) in VisitVarTemplateDecl()
3746 FromVar = FromVar->getFirstDecl(); in BuildVarTemplateInstantiation()
4013 (PatternDecl = PatternDecl->getFirstDecl())->hasInit() && in InstantiateVariableDefinition()
/external/llvm-project/clang/lib/AST/
DExternalASTMerger.cpp363 if (T1->getFirstDecl() == T2->getFirstDecl()) in IsSameDC()
DDecl.cpp560 const T *First = D->getFirstDecl(); in isFirstInExternCContext()
2101 VarDecl *VarDecl::getCanonicalDecl() { return getFirstDecl(); } in getCanonicalDecl()
2129 (getFirstDecl()->isOutOfLine() in isThisDeclarationADefinition()
2196 VarDecl *First = getFirstDecl(); in getActingDefinition()
2208 VarDecl *First = getFirstDecl(); in getDefinition()
2219 const VarDecl *First = getFirstDecl(); in hasDefinition()
3238 FunctionDecl *FunctionDecl::getCanonicalDecl() { return getFirstDecl(); } in getCanonicalDecl()
4241 TagDecl *TagDecl::getCanonicalDecl() { return getFirstDecl(); } in getCanonicalDecl()
DComputeDependence.cpp483 TypeSourceInfo *TInfo = Var->getFirstDecl()->getTypeSourceInfo(); in computeDependence()
/external/llvm-project/clang/lib/Sema/
DSemaCUDA.cpp425 InstantiateFunctionDefinition(Loc, CD->getFirstDecl()); in isEmptyCudaConstructor()
467 InstantiateFunctionDefinition(Loc, DD->getFirstDecl()); in isEmptyCudaDestructor()
DSemaTemplateInstantiateDecl.cpp1596 if (PartialSpecs[I]->getFirstDecl()->isOutOfLine()) in VisitClassTemplateDecl()
1679 if (PartialSpecs[I]->getFirstDecl()->isOutOfLine()) in VisitVarTemplateDecl()
4915 FromVar = FromVar->getFirstDecl(); in BuildVarTemplateInstantiation()
5146 if (OldVar->getFirstDecl()->hasInit()) in InstantiateVariableInitializer()
5206 (PatternDecl = PatternDecl->getFirstDecl())->hasInit() && in InstantiateVariableDefinition()
/external/clang/lib/AST/
DDecl.cpp567 const T *First = D->getFirstDecl(); in isFirstInExternCContext()
1908 VarDecl *VarDecl::getCanonicalDecl() { return getFirstDecl(); } in getCanonicalDecl()
1933 (getFirstDecl()->isOutOfLine() in isThisDeclarationADefinition()
1997 VarDecl *First = getFirstDecl(); in getActingDefinition()
2009 VarDecl *First = getFirstDecl(); in getDefinition()
2020 const VarDecl *First = getFirstDecl(); in hasDefinition()
2676 FunctionDecl *FunctionDecl::getCanonicalDecl() { return getFirstDecl(); } in getCanonicalDecl()
2698 dyn_cast<LinkageSpecDecl>(getFirstDecl()->getDeclContext()); in getBuiltinID()
3532 TagDecl *TagDecl::getCanonicalDecl() { return getFirstDecl(); } in getCanonicalDecl()
DASTContext.cpp5139 !VD->getFirstDecl()->isOutOfLine() && VD->getFirstDecl()->hasInit(); in isMSStaticDataMemberInlineDefinition()
5148 auto *First = VD->getFirstDecl(); in getInlineVariableDefinitionKind()
8801 cast<CXXRecordDecl>(RD->getFirstDecl())); in getCopyConstructorForExceptionObject()
8807 cast<CXXRecordDecl>(RD->getFirstDecl()), in addCopyConstructorForExceptionObject()
8808 cast<CXXConstructorDecl>(CD->getFirstDecl())); in addCopyConstructorForExceptionObject()
8814 cast<CXXConstructorDecl>(CD->getFirstDecl()), ParmIdx, DAE); in addDefaultArgExprForConstructor()
8820 cast<CXXConstructorDecl>(CD->getFirstDecl()), ParmIdx); in getDefaultArgExprForConstructor()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp375 D->getFirstDecl() == D->getMostRecentDecl() && in VisitTypedefDecl()
441 D->getFirstDecl() == D->getMostRecentDecl() && in VisitEnumDecl()
470 D->getFirstDecl() == D->getMostRecentDecl() && in VisitRecordDecl()
942 D->getFirstDecl() == D->getMostRecentDecl() && in VisitVarDecl()
1210 D->getFirstDecl() == D->getMostRecentDecl() && in VisitCXXMethodDecl()
1583 T *First = D->getFirstDecl(); in VisitRedeclarable()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DArgumentCommentCheck.cpp267 Callee = Callee->getFirstDecl(); in checkCallArgs()
/external/llvm-project/clang/lib/Serialization/
DASTWriterDecl.cpp391 D->getFirstDecl() == D->getMostRecentDecl() && in VisitTypedefDecl()
459 D->getFirstDecl() == D->getMostRecentDecl() && in VisitEnumDecl()
496 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()

12