/external/clang/lib/Serialization/ |
D | ASTCommon.cpp | 103 if (const TagDecl *Def = cast<TagDecl>(DC)->getDefinition()) in getDefinitiveDeclContext() 131 = cast<ObjCProtocolDecl>(DC)->getDefinition()) in getDefinitiveDeclContext()
|
/external/clang/include/clang/AST/ |
D | Decl.h | 902 VarDecl *getDefinition(ASTContext &); 903 const VarDecl *getDefinition(ASTContext &C) const { in getDefinition() function 904 return const_cast<VarDecl*>(this)->getDefinition(C); in getDefinition() 906 VarDecl *getDefinition() { in getDefinition() function 907 return getDefinition(getASTContext()); in getDefinition() 909 const VarDecl *getDefinition() const { in getDefinition() function 910 return const_cast<VarDecl*>(this)->getDefinition(); in getDefinition() 2547 TagDecl *getDefinition() const; 2707 EnumDecl *getDefinition() const { in getDefinition() function 2708 return cast_or_null<EnumDecl>(TagDecl::getDefinition()); in getDefinition() [all …]
|
D | DeclObjC.h | 823 if (const ObjCInterfaceDecl *Def = getDefinition()) in ivar_begin() 830 if (const ObjCInterfaceDecl *Def = getDefinition()) in ivar_end() 867 return getDefinition() == this; in isThisDeclarationADefinition() 890 ObjCInterfaceDecl *getDefinition() { in getDefinition() function 897 const ObjCInterfaceDecl *getDefinition() const { in getDefinition() function 918 (superCls && superCls->hasDefinition()) ? superCls->getDefinition() in setSuperClass() 1462 ObjCProtocolDecl *getDefinition() { in getDefinition() function 1467 const ObjCProtocolDecl *getDefinition() const { in getDefinition() function 1474 return getDefinition() == this; in isThisDeclarationADefinition()
|
/external/clang/lib/AST/ |
D | ASTImporter.cpp | 983 D1 = D1->getDefinition(); in IsStructurallyEquivalent() 984 D2 = D2->getDefinition(); in IsStructurallyEquivalent() 1834 …if (FromRecord->getDefinition() && FromRecord->isCompleteDefinition() && !ToRecord->getDefinition(… in ImportDefinitionIfNeeded() 1843 if (FromEnum->getDefinition() && !ToEnum->getDefinition()) { in ImportDefinitionIfNeeded() 1900 if (To->getDefinition() || To->isBeingDefined()) { in ImportDefinition() 2009 if (To->getDefinition() || To->isBeingDefined()) { in ImportDefinition() 2412 TagDecl *Definition = D->getDefinition(); in VisitRecordDecl() 2468 if (RecordDecl *FoundDef = FoundRecord->getDefinition()) { in VisitRecordDecl() 3039 if (VarDecl *DDef = D->getDefinition()) { in VisitVarDecl() 3040 if (VarDecl *ExistingDef = MergeWithVar->getDefinition()) { in VisitVarDecl() [all …]
|
D | DeclObjC.cpp | 72 if (const ObjCProtocolDecl *Def = Proto->getDefinition()) in getMethod() 101 if (const ObjCProtocolDecl *Def = Proto->getDefinition()) in findPropertyDecl() 131 if (const ObjCProtocolDecl *Def = Proto->getDefinition()) in FindPropertyDeclaration() 1063 if (const ObjCInterfaceDecl *Def = getDefinition()) { in getImplementation() 1076 getASTContext().setObjCImplementation(getDefinition(), ImplD); in setImplementation() 1423 const ObjCProtocolDecl *Def = getDefinition(); in lookupMethod() 1454 if (const ObjCProtocolDecl *PDecl = getDefinition()) { in collectPropertiesToImplement() 1532 ClassInterface = ClassInterface->getDefinition(); in Create() 1627 ClassInterface = ClassInterface->getDefinition(); in Create()
|
D | RecordLayoutBuilder.cpp | 2466 if (D->hasExternalLexicalStorage() && !D->getDefinition()) in getASTRecordLayout() 2469 D = D->getDefinition(); in getASTRecordLayout() 2549 assert(RD->getDefinition() && "Cannot get key function for forward decl!"); in getCurrentKeyFunction() 2550 RD = cast<CXXRecordDecl>(RD->getDefinition()); in getCurrentKeyFunction() 2612 if (D->hasExternalLexicalStorage() && !D->getDefinition()) in getObjCLayout() 2614 D = D->getDefinition(); in getObjCLayout()
|
D | DeclBase.cpp | 850 if (ObjCInterfaceDecl *Def = cast<ObjCInterfaceDecl>(this)->getDefinition()) in getPrimaryContext() 856 if (ObjCProtocolDecl *Def = cast<ObjCProtocolDecl>(this)->getDefinition()) in getPrimaryContext() 876 if (TagDecl *Def = Tag->getDefinition()) in getPrimaryContext()
|
D | CXXInheritance.cpp | 154 cast_or_null<CXXRecordDecl>(Ty->getDecl()->getDefinition()); in forallBases()
|
/external/clang/include/clang/Lex/ |
D | PreprocessingRecord.h | 177 if (MacroDefinition *Def = getDefinition()) in getName() 184 MacroDefinition *getDefinition() const { in getDefinition() function
|
/external/clang/lib/CodeGen/ |
D | CodeGenTBAA.cpp | 182 const RecordDecl *RD = TTy->getDecl()->getDefinition(); in CollectFields()
|
/external/clang/lib/Sema/ |
D | SemaTemplateInstantiate.cpp | 1934 = cast_or_null<CXXRecordDecl>(Pattern->getDefinition()); in InstantiateClass() 2155 EnumDecl *PatternDef = Pattern->getDefinition(); in InstantiateEnum() 2481 if (!Record->getDefinition()) { in InstantiateClassMembers() 2482 if (!Pattern->getDefinition()) { in InstantiateClassMembers() 2509 Pattern = cast_or_null<CXXRecordDecl>(Record->getDefinition()); in InstantiateClassMembers() 2528 if (Enum->getDefinition()) in InstantiateClassMembers() 2535 if (!Pattern->getDefinition()) in InstantiateClassMembers()
|
D | Sema.cpp | 355 const VarDecl *DeclToCheck = VD->getDefinition(); in ShouldRemoveFromUnused() 494 Complete = MethodsAndNestedClassesComplete(R->getDefinition(), in MethodsAndNestedClassesComplete() 747 const VarDecl *DiagD = cast<VarDecl>(*I)->getDefinition(); in ActOnEndOfTranslationUnit()
|
D | SemaDeclObjC.cpp | 467 if (ObjCInterfaceDecl *Def = PrevIDecl->getDefinition()) { in ActOnStartClassInterface() 663 if (ObjCProtocolDecl *Def = PrevDecl? PrevDecl->getDefinition() : 0) { in ActOnStartProtocolInterface() 748 (!PDecl->hasDefinition() || PDecl->getDefinition()->isHidden())) in FindProtocolDeclaration() 1595 PDecl->getDefinition()) in CheckProtocolMethodDefs() 1596 PDecl = PDecl->getDefinition(); in CheckProtocolMethodDefs() 2465 if (NSObjectDecl && NSObjectDecl->getDefinition()) { in ActOnAtEnd()
|
D | SemaDecl.cpp | 1452 if (Def && Def->getDefinition()) in getObjCInterfaceDecl() 1453 Def = Def->getDefinition(); in getObjCInterfaceDecl() 2015 static const Decl *getDefinition(const Decl *D) { in getDefinition() function 2017 return TD->getDefinition(); in getDefinition() 2019 return VD->getDefinition(); in getDefinition() 2044 const Decl *Def = getDefinition(Old); in checkNewAttributesAfterDef() 2942 (Def = Old->getDefinition())) { in MergeVarDecl() 3640 RecordDecl *RecordDef = Record->getDefinition(); in BuildMicrosoftCAnonymousStruct() 5664 Record->getDefinition() && !Record->isBeingDefined() && in CreateNewFunctionDecl() 7296 if ((Def = VDecl->getDefinition()) && Def != VDecl) { in AddInitializerToDecl() [all …]
|
D | SemaLookup.cpp | 539 if (!Class->getDefinition() || Class->isDependentContext()) in CanDeclareSpecialMemberFunction() 606 if (Record->getDefinition() && CanDeclareSpecialMemberFunction(Record)) { in DeclareImplicitMemberFunctionsWithName() 620 if (Record->getDefinition() && Record->needsImplicitDestructor() && in DeclareImplicitMemberFunctionsWithName() 630 if (Record->getDefinition() && CanDeclareSpecialMemberFunction(Record)) { in DeclareImplicitMemberFunctionsWithName() 1444 if (!LookupRec || !LookupRec->getDefinition()) in LookupQualifiedName() 2237 RD = RD->getDefinition(); in LookupSpecialMember()
|
D | SemaTemplate.cpp | 1006 if (TagDecl *Def = PrevRecordDecl->getDefinition()) { in CheckClassTemplate() 5552 if (RecordDecl *Def = Specialization->getDefinition()) { in ActOnClassTemplateSpecialization() 6491 Specialization->getDefinition()); in ActOnExplicitInstantiation() 6501 Specialization->getDefinition()); in ActOnExplicitInstantiation() 6586 if (!PrevDecl && Record->getDefinition()) in ActOnExplicitInstantiation() 6603 = cast_or_null<CXXRecordDecl>(Record->getDefinition()); in ActOnExplicitInstantiation() 6609 = cast_or_null<CXXRecordDecl>(Pattern->getDefinition()); in ActOnExplicitInstantiation() 6622 RecordDef = cast_or_null<CXXRecordDecl>(Record->getDefinition()); in ActOnExplicitInstantiation()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | IvarInvalidationChecker.cpp | 266 containsInvalidationMethod((*I)->getDefinition(), OutInfo, Partial); in containsInvalidationMethod() 287 containsInvalidationMethod((*I)->getDefinition(), OutInfo, Partial); in containsInvalidationMethod()
|
D | ArrayBoundCheckerV2.cpp | 225 if (!D->getDefinition()) in IsCompleteType()
|
D | LLVMConventionsChecker.cpp | 248 const RecordDecl *RD = RT->getDecl()->getDefinition(); in Visit()
|
D | CallAndMessageChecker.cpp | 155 const RecordDecl *RD = RT->getDecl()->getDefinition(); in PreVisitProcessArg()
|
/external/clang/tools/libclang/ |
D | CXCursor.h | 196 const MacroDefinition *getDefinition() const;
|
D | CXCursor.cpp | 684 const MacroDefinition *cxcursor::MacroExpansionCursor::getDefinition() const { in getDefinition() function in cxcursor::MacroExpansionCursor 687 return getAsMacroExpansion()->getDefinition(); in getDefinition()
|
D | CIndex.cpp | 4346 if (const MacroDefinition *Def = getCursorMacroExpansion(C).getDefinition()) in clang_getCursorReferenced() 4359 if (const ObjCProtocolDecl *Def = Prot->getDefinition()) in clang_getCursorReferenced() 4367 if (const ObjCInterfaceDecl *Def = Class->getDefinition()) in clang_getCursorReferenced() 4486 if (TagDecl *Def = cast<TagDecl>(D)->getDefinition()) in clang_getCursorDefinition() 4503 if (const VarDecl *Def = cast<VarDecl>(D)->getDefinition()) in clang_getCursorDefinition() 4517 ->getDefinition()) in clang_getCursorDefinition() 4558 if (const ObjCProtocolDecl *Def = cast<ObjCProtocolDecl>(D)->getDefinition()) in clang_getCursorDefinition() 4570 if (const ObjCInterfaceDecl *Def = IFace->getDefinition()) in clang_getCursorDefinition() 4585 if (const ObjCInterfaceDecl *Def = Class->getDefinition()) in clang_getCursorDefinition()
|
/external/v8/tools/gcmole/ |
D | gcmole.cc | 1115 record = record->getDefinition(); in IsRawPointerType() 1224 if (object_decl != NULL) object_decl = object_decl->getDefinition(); in HandleTranslationUnit() 1226 if (smi_decl != NULL) smi_decl = smi_decl->getDefinition(); in HandleTranslationUnit()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | Store.cpp | 55 if (!D->getDefinition()) in IsCompleteType()
|