/external/clang/include/clang/AST/ |
D | Redeclarable.h | 156 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()
|
D | DeclCXX.h | 2239 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 …]
|
D | DeclTemplate.h | 724 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());
|
D | Decl.h | 2466 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()
|
D | DeclObjC.h | 1815 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/clang/lib/Sema/ |
D | SemaCUDA.cpp | 357 InstantiateFunctionDefinition(Loc, CD->getFirstDecl()); in isEmptyCudaConstructor() 395 InstantiateFunctionDefinition(Loc, DD->getFirstDecl()); in isEmptyCudaDestructor()
|
D | SemaTemplateInstantiateDecl.cpp | 1212 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()
|
D | SemaDecl.cpp | 1478 const FunctionDecl *First = FD->getFirstDecl(); in MarkUnusedFileScopedDecl() 1484 const VarDecl *First = VD->getFirstDecl(); in MarkUnusedFileScopedDecl() 2531 cast<FunctionDecl>(oldDecl->getDeclContext())->getFirstDecl(); in mergeParamDeclAttributes() 2824 FunctionDecl *First = Old->getFirstDecl(); in MergeFunctionDecl() 3038 } else if (OldMethod->getFirstDecl()->isExplicitlyDefaulted() && !isFriend) { in MergeFunctionDecl() 3053 Diag(Old->getFirstDecl()->getLocation(), in MergeFunctionDecl() 3065 Diag(Old->getFirstDecl()->getLocation(), in MergeFunctionDecl() 6706 Prev = FD->getFirstDecl(); in checkGlobalOrExternCConflict() 6708 Prev = cast<VarDecl>(Prev)->getFirstDecl(); in checkGlobalOrExternCConflict() 10584 cast<CXXRecordDecl>(VD->getFirstDecl()->getDeclContext()); in FinalizeDeclaration()
|
D | SemaExpr.cpp | 295 const FunctionDecl *First = Cur->getFirstDecl(); in MaybeSuggestAddingStaticToDecl() 13011 Constructor = cast<CXXConstructorDecl>(Constructor->getFirstDecl()); in MarkFunctionReferenced() 13027 Destructor = cast<CXXDestructorDecl>(Destructor->getFirstDecl()); in MarkFunctionReferenced() 13038 MethodDecl = cast<CXXMethodDecl>(MethodDecl->getFirstDecl()); in MarkFunctionReferenced() 13048 cast<CXXConversionDecl>(MethodDecl->getFirstDecl()); in MarkFunctionReferenced()
|
D | SemaTemplate.cpp | 6914 cast<FunctionTemplateDecl>(FunTmpl->getFirstDecl()), in CheckFunctionTemplateSpecialization()
|
/external/clang/lib/AST/ |
D | Decl.cpp | 567 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()
|
D | ASTContext.cpp | 5139 !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()
|
D | DeclCXX.cpp | 1974 auto *First = cast<CXXDestructorDecl>(getFirstDecl()); in setOperatorDelete()
|
D | ASTDumper.cpp | 862 const T *First = D->getFirstDecl(); in dumpPreviousDeclImpl()
|
D | MicrosoftMangle.cpp | 448 FD = FD->getFirstDecl(); in mangleFunctionEncoding()
|
D | RecordLayoutBuilder.cpp | 3034 assert(Method == Method->getFirstDecl() && in setNonKeyFunction()
|
D | Expr.cpp | 289 TypeSourceInfo *TInfo = Var->getFirstDecl()->getTypeSourceInfo(); in computeDeclRefDependence()
|
/external/clang/lib/Serialization/ |
D | ASTWriterDecl.cpp | 375 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()
|
D | ASTReaderDecl.cpp | 1377 D->AnonOrFirstNamespaceAndInline.setPointer(D->getFirstDecl()); in VisitNamespaceDecl()
|
/external/clang/lib/CodeGen/ |
D | CodeGenModule.cpp | 2337 const SomeDecl *First = D->getFirstDecl(); in MaybeHandleStaticInExternC()
|