Home
last modified time | relevance | path

Searched refs:getDefinition (Results 1 – 25 of 31) sorted by relevance

12

/external/clang/include/clang/AST/
DDecl.h901 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()
DDeclCXX.h588 CXXRecordDecl *getDefinition() const {
/external/clang/lib/StaticAnalyzer/Checkers/
DArrayBoundCheckerV2.cpp205 if (!D->getDefinition()) in IsCompleteType()
DLLVMConventionsChecker.cpp245 const RecordDecl *RD = RT->getDecl()->getDefinition(); in Visit()
DCallAndMessageChecker.cpp122 const RecordDecl *RD = RT->getDecl()->getDefinition(); in PreVisitProcessArg()
/external/clang/include/clang/Lex/
DPreprocessingRecord.h131 MacroDefinition *getDefinition() const { return Definition; } in getDefinition() function
/external/clang/lib/CodeGen/
DCodeGenTypes.cpp200 if (TT->getDecl()->getDefinition() == 0) in isFuncTypeArgumentConvertible()
569 RD = RD->getDefinition(); in ConvertRecordDeclType()
/external/clang/lib/StaticAnalyzer/Core/
DStore.cpp40 if (!D->getDefinition()) in IsCompleteType()
DMemRegion.cpp812 if (!D->getDefinition()) in IsCompleteType()
/external/clang/lib/AST/
DASTImporter.cpp854 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 …]
DCXXInheritance.cpp137 cast_or_null<CXXRecordDecl>(Ty->getDecl()->getDefinition()); in forallBases()
DDecl.cpp1264 VarDecl *VarDecl::getDefinition() { in getDefinition() function in VarDecl
2255 TagDecl* TagDecl::getDefinition() const { in getDefinition() function in TagDecl
2259 return CXXRD->getDefinition(); in getDefinition()
DRecordLayoutBuilder.cpp1833 D = D->getDefinition(); in getASTRecordLayout()
1908 RD = cast<CXXRecordDecl>(RD->getDefinition()); in getKeyFunction()
DDeclBase.cpp783 if (TagDecl *Def = Tag->getDefinition()) in getPrimaryContext()
DDeclCXX.cpp740 if (FieldRec->getDefinition()) { in addedMember()
/external/clang/lib/Sema/
DSema.cpp328 const VarDecl *DeclToCheck = VD->getDefinition(); in ShouldRemoveFromUnused()
543 const VarDecl *DiagD = cast<VarDecl>(*I)->getDefinition(); in ActOnEndOfTranslationUnit()
DSemaLookup.cpp526 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()
DSemaTemplateInstantiate.cpp1690 = 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()
DSemaDecl.cpp2139 (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 …]
DSemaTemplate.cpp939 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()
DSemaExprMember.cpp34 RecordDecl *RD = Record->getDefinition(); in IsProvablyNotDerivedFrom()
DSemaDeclCXX.cpp686 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()
DSemaCXXCast.cpp580 const RecordDecl *SrcDecl = SrcRecord->getDecl()->getDefinition(); in CheckDynamicCast()
DSemaTemplateInstantiateDecl.cpp2582 if (Var->getDefinition()) in InstantiateStaticDataMemberDefinition()
/external/clang/tools/libclang/
DCIndex.cpp3880 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()

12