/external/clang/include/clang/AST/ |
D | Decl.h | 901 VarDecl *getDefinition(); 902 const VarDecl *getDefinition() const { in getDefinition() function 903 return const_cast<VarDecl*>(this)->getDefinition(); in getDefinition() 2454 TagDecl* getDefinition() const; 2610 const EnumDecl *E = cast_or_null<EnumDecl>(getDefinition()); in enumerator_begin() 2617 const EnumDecl *E = cast_or_null<EnumDecl>(getDefinition()); in enumerator_end() 2806 RecordDecl* getDefinition() const { in getDefinition() function 2807 return cast_or_null<RecordDecl>(TagDecl::getDefinition()); in getDefinition()
|
D | DeclCXX.h | 588 CXXRecordDecl *getDefinition() const {
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | ArrayBoundCheckerV2.cpp | 205 if (!D->getDefinition()) in IsCompleteType()
|
D | LLVMConventionsChecker.cpp | 245 const RecordDecl *RD = RT->getDecl()->getDefinition(); in Visit()
|
D | CallAndMessageChecker.cpp | 122 const RecordDecl *RD = RT->getDecl()->getDefinition(); in PreVisitProcessArg()
|
/external/clang/include/clang/Lex/ |
D | PreprocessingRecord.h | 131 MacroDefinition *getDefinition() const { return Definition; } in getDefinition() function
|
/external/clang/lib/CodeGen/ |
D | CodeGenTypes.cpp | 200 if (TT->getDecl()->getDefinition() == 0) in isFuncTypeArgumentConvertible() 569 RD = RD->getDefinition(); in ConvertRecordDeclType()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | Store.cpp | 40 if (!D->getDefinition()) in IsCompleteType()
|
D | MemRegion.cpp | 812 if (!D->getDefinition()) in IsCompleteType()
|
/external/clang/lib/AST/ |
D | ASTImporter.cpp | 854 D1 = D1->getDefinition(); in IsStructurallyEquivalent() 855 D2 = D2->getDefinition(); in IsStructurallyEquivalent() 1785 if (To->getDefinition()) in ImportDefinition() 2186 TagDecl *Definition = D->getDefinition(); in VisitRecordDecl() 2228 if (RecordDecl *FoundDef = FoundRecord->getDefinition()) { in VisitRecordDecl() 2679 if (VarDecl *DDef = D->getDefinition()) { in VisitVarDecl() 2680 if (VarDecl *ExistingDef = MergeWithVar->getDefinition()) { in VisitVarDecl() 3578 = cast_or_null<CXXRecordDecl>(D->getTemplatedDecl()->getDefinition()); in VisitClassTemplateDecl() 3675 TagDecl *Definition = D->getDefinition(); in VisitClassTemplateSpecializationDecl() 3724 if (RecordDecl *FoundDef = D2->getDefinition()) { in VisitClassTemplateSpecializationDecl() [all …]
|
D | CXXInheritance.cpp | 137 cast_or_null<CXXRecordDecl>(Ty->getDecl()->getDefinition()); in forallBases()
|
D | Decl.cpp | 1264 VarDecl *VarDecl::getDefinition() { in getDefinition() function in VarDecl 2255 TagDecl* TagDecl::getDefinition() const { in getDefinition() function in TagDecl 2259 return CXXRD->getDefinition(); in getDefinition()
|
D | RecordLayoutBuilder.cpp | 1833 D = D->getDefinition(); in getASTRecordLayout() 1908 RD = cast<CXXRecordDecl>(RD->getDefinition()); in getKeyFunction()
|
D | DeclBase.cpp | 783 if (TagDecl *Def = Tag->getDefinition()) in getPrimaryContext()
|
D | DeclCXX.cpp | 740 if (FieldRec->getDefinition()) { in addedMember()
|
/external/clang/lib/Sema/ |
D | Sema.cpp | 328 const VarDecl *DeclToCheck = VD->getDefinition(); in ShouldRemoveFromUnused() 543 const VarDecl *DiagD = cast<VarDecl>(*I)->getDefinition(); in ActOnEndOfTranslationUnit()
|
D | SemaLookup.cpp | 526 if (!Class->getDefinition() || Class->isDependentContext()) in CanDeclareSpecialMemberFunction() 587 if (Record->getDefinition() && in DeclareImplicitMemberFunctionsWithName() 599 if (Record->getDefinition() && !Record->hasDeclaredDestructor() && in DeclareImplicitMemberFunctionsWithName() 609 if (Record->getDefinition() && !Record->hasDeclaredCopyAssignment() && in DeclareImplicitMemberFunctionsWithName() 1368 if (!LookupRec || !LookupRec->getDefinition()) in LookupQualifiedName() 2155 RD = RD->getDefinition(); in LookupSpecialMember()
|
D | SemaTemplateInstantiate.cpp | 1690 = cast_or_null<CXXRecordDecl>(Pattern->getDefinition()); in InstantiateClass() 2144 if (!Record->getDefinition()) { in InstantiateClassMembers() 2145 if (!Pattern->getDefinition()) { in InstantiateClassMembers() 2172 Pattern = cast_or_null<CXXRecordDecl>(Record->getDefinition()); in InstantiateClassMembers()
|
D | SemaDecl.cpp | 2139 (Def = Old->getDefinition())) { in MergeVarDecl() 2747 Record->getDefinition(), in BuildMicrosoftCAnonymousStruct() 3793 if (Def && (Def = Def->getDefinition()) && in ActOnVariableDeclarator() 4258 Record->getDefinition() && !Record->isBeingDefined() && in ActOnFunctionDeclarator() 5358 if ((Def = VDecl->getDefinition()) && Def != VDecl) { in AddInitializerToDecl() 6797 if (Previous->getDefinition()) { in isAcceptableTagRedeclaration() 6824 const TagDecl *Redecl = Previous->getDefinition() ? in isAcceptableTagRedeclaration() 6825 Previous->getDefinition() : Previous; in isAcceptableTagRedeclaration() 6836 if (Previous->getDefinition()) { in isAcceptableTagRedeclaration() 7241 if (TagDecl *Def = PrevTagDecl->getDefinition()) { in ActOnTag() [all …]
|
D | SemaTemplate.cpp | 939 if (TagDecl *Def = PrevRecordDecl->getDefinition()) { in CheckClassTemplate() 5046 if (RecordDecl *Def = Specialization->getDefinition()) { in ActOnClassTemplateSpecialization() 5908 Specialization->getDefinition()); in ActOnExplicitInstantiation() 5918 Specialization->getDefinition()); in ActOnExplicitInstantiation() 6007 if (!PrevDecl && Record->getDefinition()) in ActOnExplicitInstantiation() 6024 = cast_or_null<CXXRecordDecl>(Record->getDefinition()); in ActOnExplicitInstantiation() 6030 = cast_or_null<CXXRecordDecl>(Pattern->getDefinition()); in ActOnExplicitInstantiation() 6043 RecordDef = cast_or_null<CXXRecordDecl>(Record->getDefinition()); in ActOnExplicitInstantiation()
|
D | SemaExprMember.cpp | 34 RecordDecl *RD = Record->getDefinition(); in IsProvablyNotDerivedFrom()
|
D | SemaDeclCXX.cpp | 686 BaseDecl = BaseDecl->getDefinition(); in CheckBaseSpecifier() 2266 CXXRecordDecl *ClassDecl = Constructor->getParent()->getDefinition(); in SetCtorInitializers() 2775 const CXXRecordDecl *Def = RD->getDefinition(); in RequireNonAbstractType() 7464 if ((Def = VDecl->getDefinition()) && Def != VDecl) { in AddCXXDirectInitializerToDecl() 8982 CXXRecordDecl *Class = VTableUses[I].first->getDefinition(); in DefineUsedVTables()
|
D | SemaCXXCast.cpp | 580 const RecordDecl *SrcDecl = SrcRecord->getDecl()->getDefinition(); in CheckDynamicCast()
|
D | SemaTemplateInstantiateDecl.cpp | 2582 if (Var->getDefinition()) in InstantiateStaticDataMemberDefinition()
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 3880 if (MacroDefinition *Def = getCursorMacroExpansion(C)->getDefinition()) in clang_getCursorReferenced() 4008 if (TagDecl *Def = cast<TagDecl>(D)->getDefinition()) in clang_getCursorDefinition() 4025 if (VarDecl *Def = cast<VarDecl>(D)->getDefinition()) in clang_getCursorDefinition() 4039 ->getDefinition()) in clang_getCursorDefinition()
|