/external/clang/include/clang/Lex/ |
D | MacroInfo.h | 392 DefInfo getDefinition(); 393 const DefInfo getDefinition() const { in getDefinition() function 394 return const_cast<MacroDirective *>(this)->getDefinition(); in getDefinition() 398 if (const DefInfo Def = getDefinition()) in isDefined() 404 return getDefinition().getMacroInfo(); in getMacroInfo() 406 MacroInfo *getMacroInfo() { return getDefinition().getMacroInfo(); } in getMacroInfo() 487 return DefDirective->getPrevious()->getDefinition(); in getPreviousDefinition()
|
D | PreprocessingRecord.h | 177 if (MacroDefinitionRecord *Def = getDefinition()) in getName() 184 MacroDefinitionRecord *getDefinition() const { in getDefinition() function
|
/external/clang/lib/CodeGen/ |
D | CodeGenTBAA.cpp | 178 const RecordDecl *RD = TTy->getDecl()->getDefinition(); in CollectFields() 229 const RecordDecl *RD = TTy->getDecl()->getDefinition(); in isTBAAPathStruct() 249 const RecordDecl *RD = TTy->getDecl()->getDefinition(); in getTBAAStructTypeInfo()
|
D | ModuleBuilder.cpp | 89 if (auto Def = TD->getDefinition()) in GetDeclForMangledName()
|
D | CGDebugInfo.cpp | 703 const RecordDecl *D = RD->getDefinition(); in getOrCreateRecordFwdDecl() 1539 if (DebugTypeExtRefs && RD->isFromASTFile() && RD->getDefinition()) in shouldOmitDefinition() 1599 const RecordDecl *D = RD->getDefinition(); in CreateTypeDefinition() 1680 if (DebugTypeExtRefs && ID->isFromASTFile() && ID->getDefinition()) in CreateType() 1693 ObjCInterfaceDecl *Def = ID->getDefinition(); in CreateType() 2041 DebugTypeExtRefs && ED->isFromASTFile() && ED->getDefinition(); in CreateEnumType() 2045 if (isImportedFromModule || !ED->getDefinition()) { in CreateEnumType() 2075 ED = ED->getDefinition(); in CreateTypeDefinition() 2196 if (isa<RecordDecl>(D) && !cast<RecordDecl>(D)->getDefinition()) in getParentModuleOrNull() 2346 if (T && (!T->isForwardDecl() || !RD->getDefinition())) in CreateLimitedType() [all …]
|
/external/clang/lib/AST/ |
D | DeclObjC.cpp | 73 if (const ObjCProtocolDecl *Def = Proto->getDefinition()) in getMethod() 159 if (const ObjCProtocolDecl *Def = Proto->getDefinition()) in findPropertyDecl() 198 if (const ObjCProtocolDecl *Def = Proto->getDefinition()) in FindPropertyDeclaration() 266 if (const ObjCInterfaceDecl *def = getDefinition()) in getTypeParamList() 299 if (ObjCInterfaceDecl *superDef = superDecl->getDefinition()) in getSuperClass() 1448 if (const ObjCInterfaceDecl *Def = getDefinition()) { in getImplementation() 1461 getASTContext().setObjCImplementation(getDefinition(), ImplD); in setImplementation() 1792 const ObjCProtocolDecl *Def = getDefinition(); in lookupMethod() 1822 if (const ObjCProtocolDecl *PDecl = getDefinition()) { in collectPropertiesToImplement() 1838 if (const ObjCProtocolDecl *PDecl = getDefinition()) { in collectInheritedProtocolProperties() [all …]
|
D | ASTImporter.cpp | 1045 D1 = D1->getDefinition(); in IsStructurallyEquivalent() 1046 D2 = D2->getDefinition(); in IsStructurallyEquivalent() 1922 …if (FromRecord->getDefinition() && FromRecord->isCompleteDefinition() && !ToRecord->getDefinition(… in ImportDefinitionIfNeeded() 1931 if (FromEnum->getDefinition() && !ToEnum->getDefinition()) { in ImportDefinitionIfNeeded() 1985 if (To->getDefinition() || To->isBeingDefined()) { in ImportDefinition() 2103 if (To->getDefinition() || To->isBeingDefined()) { in ImportDefinition() 2539 TagDecl *Definition = D->getDefinition(); in VisitRecordDecl() 2598 if (RecordDecl *FoundDef = FoundRecord->getDefinition()) { in VisitRecordDecl() 3205 if (VarDecl *DDef = D->getDefinition()) { in VisitVarDecl() 3206 if (VarDecl *ExistingDef = MergeWithVar->getDefinition()) { in VisitVarDecl() [all …]
|
D | RecordLayoutBuilder.cpp | 2886 if (D->hasExternalLexicalStorage() && !D->getDefinition()) in getASTRecordLayout() 2889 D = D->getDefinition(); in getASTRecordLayout() 2975 assert(RD->getDefinition() && "Cannot get key function for forward decl!"); in getCurrentKeyFunction() 2976 RD = cast<CXXRecordDecl>(RD->getDefinition()); in getCurrentKeyFunction() 3046 if (D->hasExternalLexicalStorage() && !D->getDefinition()) in getObjCLayout() 3048 D = D->getDefinition(); in getObjCLayout()
|
D | DeclBase.cpp | 966 if (ObjCInterfaceDecl *Def = cast<ObjCInterfaceDecl>(this)->getDefinition()) in getPrimaryContext() 972 if (ObjCProtocolDecl *Def = cast<ObjCProtocolDecl>(this)->getDefinition()) in getPrimaryContext() 990 if (TagDecl *Def = Tag->getDefinition()) in getPrimaryContext()
|
D | DeclCXX.cpp | 741 if (FieldRec->getDefinition()) { in addedMember() 1269 return CTD->getTemplatedDecl()->getDefinition(); in getTemplateInstantiationPattern() 1278 return CTPSD->getDefinition(); in getTemplateInstantiationPattern() 1287 return RD->getDefinition(); in getTemplateInstantiationPattern()
|
/external/clang/lib/Lex/ |
D | MacroInfo.cpp | 176 MacroDirective::DefInfo MacroDirective::getDefinition() { in getDefinition() function in MacroDirective 202 for (DefInfo Def = getDefinition(); Def; Def = Def.getPreviousDefinition()) { in findDirectiveAtLoc()
|
/external/clang/include/clang/AST/ |
D | Decl.h | 1024 VarDecl *getDefinition(ASTContext &); 1025 const VarDecl *getDefinition(ASTContext &C) const { in getDefinition() function 1026 return const_cast<VarDecl*>(this)->getDefinition(C); in getDefinition() 1028 VarDecl *getDefinition() { in getDefinition() function 1029 return getDefinition(getASTContext()); in getDefinition() 1031 const VarDecl *getDefinition() const { in getDefinition() function 1032 return const_cast<VarDecl*>(this)->getDefinition(); in getDefinition() 2901 TagDecl *getDefinition() const; 3065 EnumDecl *getDefinition() const { in getDefinition() function 3066 return cast_or_null<EnumDecl>(TagDecl::getDefinition()); in getDefinition() [all …]
|
D | DeclObjC.h | 1127 if (const ObjCInterfaceDecl *Def = getDefinition()) in ivar_begin() 1134 if (const ObjCInterfaceDecl *Def = getDefinition()) in ivar_end() 1196 return getDefinition() == this; in isThisDeclarationADefinition() 1214 ObjCInterfaceDecl *getDefinition() { in getDefinition() function 1221 const ObjCInterfaceDecl *getDefinition() const { in getDefinition() function 1856 ObjCProtocolDecl *getDefinition() { in getDefinition() function 1861 const ObjCProtocolDecl *getDefinition() const { in getDefinition() function 1868 return getDefinition() == this; in isThisDeclarationADefinition()
|
/external/clang/lib/Serialization/ |
D | ASTCommon.cpp | 219 if (const TagDecl *Def = cast<TagDecl>(DC)->getDefinition()) in getDefinitiveDeclContext() 248 = cast<ObjCProtocolDecl>(DC)->getDefinition()) in getDefinitiveDeclContext()
|
/external/lldb/source/Symbol/ |
D | ClangASTImporter.cpp | 193 if (!interface_decl->getDefinition()) in CompleteDecl() 201 if (!protocol_decl->getDefinition()) in CompleteDecl() 206 if (!tag_decl->getDefinition() && !tag_decl->isBeingDefined()) in CompleteDecl()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | DynamicTypeChecker.cpp | 159 return Decl->getDefinition(); in hasDefinition()
|
D | IvarInvalidationChecker.cpp | 261 containsInvalidationMethod(I->getDefinition(), OutInfo, Partial); in containsInvalidationMethod() 275 containsInvalidationMethod(I->getDefinition(), OutInfo, Partial); in containsInvalidationMethod()
|
D | LLVMConventionsChecker.cpp | 252 const RecordDecl *RD = RT->getDecl()->getDefinition(); in Visit()
|
/external/clang/lib/Sema/ |
D | SemaDeclObjC.cpp | 790 ->getDefinition() == prevTypeParam->getDeclContext())) { in checkTypeParamListConsistency() 986 if (ObjCInterfaceDecl *Def = PrevIDecl->getDefinition()) { in ActOnStartClassInterface() 1138 if (ObjCProtocolDecl *Def = PrevDecl? PrevDecl->getDefinition() : nullptr) { in ActOnStartProtocolInterface() 1191 if (!PDecl->hasDefinition() || PDecl->getDefinition()->isHidden()) { in NestedProtocolHasNoDefinition() 1229 if (!PDecl->isThisDeclarationADefinition() && PDecl->getDefinition()) in FindProtocolDeclaration() 1230 PDecl = PDecl->getDefinition(); in FindProtocolDeclaration() 1357 if (!proto->isThisDeclarationADefinition() && proto->getDefinition()) in actOnObjCTypeArgsOrProtocolQualifiers() 1358 proto = proto->getDefinition(); in actOnObjCTypeArgsOrProtocolQualifiers() 2623 PDecl->getDefinition()) in CheckProtocolMethodDefs() 2624 PDecl = PDecl->getDefinition(); in CheckProtocolMethodDefs() [all …]
|
D | SemaTemplateInstantiate.cpp | 1930 = cast_or_null<CXXRecordDecl>(Pattern->getDefinition()); in InstantiateClass() 2147 EnumDecl *PatternDef = Pattern->getDefinition(); in InstantiateEnum() 2538 if (!Record->getDefinition()) { in InstantiateClassMembers() 2539 if (!Pattern->getDefinition()) { in InstantiateClassMembers() 2566 Pattern = cast_or_null<CXXRecordDecl>(Record->getDefinition()); in InstantiateClassMembers() 2585 if (Enum->getDefinition()) in InstantiateClassMembers() 2592 if (!Pattern->getDefinition()) in InstantiateClassMembers()
|
D | SemaLookup.cpp | 704 if (!Class->getDefinition() || Class->isDependentContext()) in CanDeclareSpecialMemberFunction() 771 if (Record->getDefinition() && CanDeclareSpecialMemberFunction(Record)) { in DeclareImplicitMemberFunctionsWithName() 785 if (Record->getDefinition() && Record->needsImplicitDestructor() && in DeclareImplicitMemberFunctionsWithName() 795 if (Record->getDefinition() && CanDeclareSpecialMemberFunction(Record)) { in DeclareImplicitMemberFunctionsWithName() 1944 if (!LookupRec || !LookupRec->getDefinition()) in LookupQualifiedName() 2729 RD = RD->getDefinition(); in LookupSpecialMember() 4847 return VD->getDefinition(); in getDefinitionToImport() 4851 return TD->getDefinition(); in getDefinitionToImport() 4853 return ID->getDefinition(); in getDefinitionToImport() 4855 return PD->getDefinition(); in getDefinitionToImport()
|
D | Sema.cpp | 459 const VarDecl *DeclToCheck = VD->getDefinition(); in ShouldRemoveFromUnused() 596 Complete = MethodsAndNestedClassesComplete(R->getDefinition(), in MethodsAndNestedClassesComplete() 864 const VarDecl *DiagD = cast<VarDecl>(*I)->getDefinition(); in ActOnEndOfTranslationUnit()
|
/external/clang/tools/libclang/ |
D | CXCursor.h | 193 const MacroDefinitionRecord *getDefinition() const;
|
D | CXType.cpp | 787 RD = RD->getDefinition(); in validateFieldParentType() 820 RD = RD->getDefinition(); in clang_Type_getOffsetOf() 954 RD = RD->getDefinition(); in clang_Type_visitFields()
|
/external/v8/tools/gcmole/ |
D | gcmole.cc | 1097 record = record->getDefinition(); in IsRawPointerType() 1206 if (object_decl != NULL) object_decl = object_decl->getDefinition(); in HandleTranslationUnit() 1208 if (smi_decl != NULL) smi_decl = smi_decl->getDefinition(); in HandleTranslationUnit()
|