Home
last modified time | relevance | path

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

1234

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/
H A DMacroInfo.h379 DefInfo getDefinition();
380 const DefInfo getDefinition() const { in getDefinition() function
381 return const_cast<MacroDirective *>(this)->getDefinition(); in getDefinition()
385 if (const DefInfo Def = getDefinition()) in isDefined()
391 return getDefinition().getMacroInfo(); in getMacroInfo()
393 MacroInfo *getMacroInfo() { return getDefinition().getMacroInfo(); } in getMacroInfo()
478 return DefDirective->getPrevious()->getDefinition(); in getPreviousDefinition()
H A DPreprocessingRecord.h189 if (MacroDefinitionRecord *Def = getDefinition()) in getName()
196 MacroDefinitionRecord *getDefinition() const { in getDefinition() function
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DDeclObjC.cpp97 if (const ObjCProtocolDecl *Def = Proto->getDefinition()) in getMethod()
184 if (const ObjCProtocolDecl *Def = Proto->getDefinition()) in findPropertyDecl()
242 if (const ObjCProtocolDecl *Def = Proto->getDefinition()) in FindPropertyDeclaration()
315 if (const ObjCInterfaceDecl *def = getDefinition()) in getTypeParamList()
349 if (ObjCInterfaceDecl *superDef = superDecl->getDefinition()) in getSuperClass()
569 getCanonicalDecl()->getDefinition() == getDefinition()) in isDesignatedInitializer()
1585 if (const ObjCInterfaceDecl *Def = getDefinition()) { in getImplementation()
1598 getASTContext().setObjCImplementation(getDefinition(), ImplD); in setImplementation()
1953 const ObjCProtocolDecl *Def = getDefinition(); in lookupMethod()
1982 if (const ObjCProtocolDecl *PDecl = getDefinition()) { in collectPropertiesToImplement()
[all …]
H A DDeclBase.cpp483 Definition = ID->getDefinition(); in getExternalSourceSymbolAttr()
485 Definition = PD->getDefinition(); in getExternalSourceSymbolAttr()
487 Definition = TD->getDefinition(); in getExternalSourceSymbolAttr()
1239 if (auto *Def = OID->getDefinition()) in getPrimaryContext()
1245 if (auto *Def = OPD->getDefinition()) in getPrimaryContext()
1262 if (TagDecl *Def = Tag->getDefinition()) in getPrimaryContext()
H A DExternalASTMerger.cpp315 if (!SourceTag->getDefinition()) in CompleteType()
335 if (!SourceInterface->getDefinition()) in CompleteType()
H A DASTImporter.cpp1694 if (FromRecord->getDefinition() && FromRecord->isCompleteDefinition() && in ImportDefinitionIfNeeded()
1695 !ToRecord->getDefinition()) { in ImportDefinitionIfNeeded()
1705 if (FromEnum->getDefinition() && !ToEnum->getDefinition()) { in ImportDefinitionIfNeeded()
1907 assert(From->isCompleteDefinition() && To->getDefinition() == To && in ImportImplicitMethods()
1944 if (To->getDefinition() || To->isBeingDefined()) { in ImportDefinition()
2073 if (To->getDefinition() || To->isBeingDefined()) { in ImportDefinition()
2693 EnumDecl *FoundDef = FoundEnum->getDefinition(); in VisitEnumDecl()
2829 RecordDecl *FoundDef = FoundRecord->getDefinition(); in VisitRecordDecl()
3985 VarDecl *FoundDef = FoundVar->getDefinition(); in VisitVarDecl()
4432 if (To->getDefinition()) { in ImportDefinition()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFindingAction.cpp117 if (!RecordDecl->getDefinition()) { in handleCXXRecordDecl()
121 RecordDecl = RecordDecl->getDefinition(); in handleCXXRecordDecl()
159 const auto* RecordDecl = RD->getDefinition(); in addUSRsOfCtorDtors()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DRecordLayout.h252 Base = Base->getDefinition(); in getBaseClassOffset()
262 VBase = VBase->getDefinition(); in getVBaseClassOffset()
H A DDecl.h1215 VarDecl *getDefinition(ASTContext &);
1216 const VarDecl *getDefinition(ASTContext &C) const { in getDefinition() function
1217 return const_cast<VarDecl*>(this)->getDefinition(C); in getDefinition()
1219 VarDecl *getDefinition() { in getDefinition() function
1220 return getDefinition(getASTContext()); in getDefinition()
1222 const VarDecl *getDefinition() const { in getDefinition() function
1223 return const_cast<VarDecl*>(this)->getDefinition(); in getDefinition()
2088 FunctionDecl *getDefinition() { in getDefinition() function
2094 const FunctionDecl *getDefinition() const { in getDefinition() function
2095 return const_cast<FunctionDecl *>(this)->getDefinition(); in getDefinition()
[all …]
H A DDeclObjC.h1437 if (const ObjCInterfaceDecl *Def = getDefinition()) in ivar_begin()
1445 if (const ObjCInterfaceDecl *Def = getDefinition()) in ivar_end()
1507 return getDefinition() == this; in isThisDeclarationADefinition()
1525 ObjCInterfaceDecl *getDefinition() { in getDefinition() function
1532 const ObjCInterfaceDecl *getDefinition() const { in getDefinition() function
2194 ObjCProtocolDecl *getDefinition() { in getDefinition() function
2199 const ObjCProtocolDecl *getDefinition() const { in getDefinition() function
2206 return getDefinition() == this; in isThisDeclarationADefinition()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A DProgram.cpp189 F = F->getDefinition(); in getFunction()
200 if (const FunctionDecl *FD = F->getDefinition()) in getOrCreateFunction()
209 RD = RD->getDefinition(); in getOrCreateRecord()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DMacroInfo.cpp178 MacroDirective::DefInfo MacroDirective::getDefinition() { in getDefinition() function in MacroDirective
205 for (DefInfo Def = getDefinition(); Def; Def = Def.getPreviousDefinition()) { in findDirectiveAtLoc()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCodeGenTBAA.cpp101 const RecordDecl *RD = TTy->getDecl()->getDefinition(); in isValidBaseType()
284 const RecordDecl *RD = TTy->getDecl()->getDefinition(); in CollectFields()
336 const RecordDecl *RD = TTy->getDecl()->getDefinition(); in getBaseTypeInfoHelper()
H A DModuleBuilder.cpp119 if (auto Def = TD->getDefinition()) in GetDeclForMangledName()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp282 const RecordDecl *RD = R->getValueType()->getAsRecordDecl()->getDefinition(); in isNonUnionUninit()
522 return M->getDefinition()->getBody(); in getMethodBody()
535 Parent = Parent->getDefinition(); in hasUnguardedAccess()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Analysis/
H A DCallGraph.h197 FunctionDecl *getDefinition() const { in getDefinition() function
198 return getDecl()->getAsFunction()->getDefinition(); in getDefinition()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DPaddingChecker.cpp78 if (!(RD = RD->getDefinition())) in visitRecord()
134 if (!(RD = RD->getDefinition())) in shouldSkipDecl()
H A DDynamicTypeChecker.cpp150 return Decl->getDefinition(); in hasDefinition()
H A DIvarInvalidationChecker.cpp258 containsInvalidationMethod(I->getDefinition(), OutInfo, Partial); in containsInvalidationMethod()
272 containsInvalidationMethod(I->getDefinition(), OutInfo, Partial); in containsInvalidationMethod()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTCommon.cpp298 if (const TagDecl *Def = cast<TagDecl>(DC)->getDefinition()) in getDefinitiveDeclContext()
327 = cast<ObjCProtocolDecl>(DC)->getDefinition()) in getDefinitiveDeclContext()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DPtrTypesSemantics.cpp68 R = R->getDefinition(); in isRefCountable()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaDeclObjC.cpp866 ->getDefinition() == prevTypeParam->getDeclContext())) { in checkTypeParamListConsistency()
1059 if (ObjCInterfaceDecl *Def = PrevIDecl->getDefinition()) { in ActOnStartClassInterface()
1222 if (ObjCProtocolDecl *Def = PrevDecl? PrevDecl->getDefinition() : nullptr) { in ActOnStartProtocolInterface()
1281 !PDecl->getDefinition()->isUnconditionallyVisible()) { in NestedProtocolHasNoDefinition()
1318 if (!PDecl->isThisDeclarationADefinition() && PDecl->getDefinition()) in FindProtocolDeclaration()
1319 PDecl = PDecl->getDefinition(); in FindProtocolDeclaration()
1461 if (!proto->isThisDeclarationADefinition() && proto->getDefinition()) in actOnObjCTypeArgsOrProtocolQualifiers()
1462 proto = proto->getDefinition(); in actOnObjCTypeArgsOrProtocolQualifiers()
2741 PDecl->getDefinition()) in CheckProtocolMethodDefs()
2742 PDecl = PDecl->getDefinition(); in CheckProtocolMethodDefs()
[all …]
H A DSemaTemplateInstantiate.cpp2632 = cast_or_null<CXXRecordDecl>(Pattern->getDefinition()); in InstantiateClass()
2888 EnumDecl *PatternDef = Pattern->getDefinition(); in InstantiateEnum()
3303 if (!Var->getInstantiatedFromStaticDataMember()->getDefinition()) in InstantiateClassMembers()
3354 if (!Record->getDefinition()) { in InstantiateClassMembers()
3355 if (!Pattern->getDefinition()) { in InstantiateClassMembers()
3382 Pattern = cast_or_null<CXXRecordDecl>(Record->getDefinition()); in InstantiateClassMembers()
3401 if (Enum->getDefinition()) in InstantiateClassMembers()
3408 if (!Pattern->getDefinition()) in InstantiateClassMembers()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DCallGraph.cpp98 if (FunctionDecl *Def = Ctor->getDefinition()) in VisitCXXConstructExpr()
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXCursor.h189 const MacroDefinitionRecord *getDefinition() const;

1234