/freebsd/contrib/llvm-project/clang/include/clang/Lex/ |
H A D | MacroInfo.h | 405 DefInfo getDefinition(); 406 const DefInfo getDefinition() const { in getDefinition() function 407 return const_cast<MacroDirective *>(this)->getDefinition(); in getDefinition() 411 if (const DefInfo Def = getDefinition()) in isDefined() 417 return getDefinition().getMacroInfo(); in getMacroInfo() 419 MacroInfo *getMacroInfo() { return getDefinition().getMacroInfo(); } in getMacroInfo() 504 return DefDirective->getPrevious()->getDefinition(); in getPreviousDefinition()
|
H A D | PreprocessingRecord.h | 187 if (MacroDefinitionRecord *Def = getDefinition()) in getName() 194 MacroDefinitionRecord *getDefinition() const { in getDefinition() function
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclObjC.cpp | 98 if (const ObjCProtocolDecl *Def = Proto->getDefinition()) in getMethod() 185 if (const ObjCProtocolDecl *Def = Proto->getDefinition()) in findPropertyDecl() 255 if (const ObjCProtocolDecl *Def = Proto->getDefinition()) in FindPropertyDeclaration() 328 if (const ObjCInterfaceDecl *def = getDefinition()) in getTypeParamList() 362 if (ObjCInterfaceDecl *superDef = superDecl->getDefinition()) in getSuperClass() 577 getCanonicalDecl()->getDefinition() == getDefinition()) in isDesignatedInitializer() 800 Hasher.AddObjCInterfaceDecl(getDefinition()); in getODRHash() 1630 if (const ObjCInterfaceDecl *Def = getDefinition()) { in getImplementation() 1643 getASTContext().setObjCImplementation(getDefinition(), ImplD); in setImplementation() 2003 const ObjCProtocolDecl *Def = getDefinition(); in lookupMethod() [all …]
|
H A D | DeclBase.cpp | 592 Definition = ID->getDefinition(); in getExternalSourceSymbolAttr() 594 Definition = PD->getDefinition(); in getExternalSourceSymbolAttr() 596 Definition = TD->getDefinition(); in getExternalSourceSymbolAttr() 1452 if (auto *Def = OID->getDefinition()) in getPrimaryContext() 1458 if (auto *Def = OPD->getDefinition()) in getPrimaryContext() 1475 if (TagDecl *Def = Tag->getDefinition()) in getPrimaryContext()
|
H A D | ExternalASTMerger.cpp | 312 if (!SourceTag->getDefinition()) in CompleteType() 332 if (!SourceInterface->getDefinition()) in CompleteType()
|
H A D | ASTImporter.cpp | 1955 if (FromRecord->getDefinition() && FromRecord->isCompleteDefinition() && in ImportDefinitionIfNeeded() 1956 !ToRecord->getDefinition()) { in ImportDefinitionIfNeeded() 1966 if (FromEnum->getDefinition() && !ToEnum->getDefinition()) { in ImportDefinitionIfNeeded() 2186 assert(From->isCompleteDefinition() && To->getDefinition() == To && in ImportImplicitMethods() 2223 if (To->getDefinition() || To->isBeingDefined()) { in ImportDefinition() 2361 if (To->getDefinition() || To->isBeingDefined()) { in ImportDefinition() 2953 EnumDecl *FoundDef = FoundEnum->getDefinition(); in VisitEnumDecl() 3098 RecordDecl *FoundDef = FoundRecord->getDefinition(); in VisitRecordDecl() 3683 FunctionDecl *Def = D->getDefinition(); in hasReturnTypeDeclaredInside() 4491 VarDecl *FoundDef = FoundVar->getDefinition(); in VisitVarDecl() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
H A D | InterpreterUtils.cpp | 56 TD && !TD->getDefinition()) in LookupNamespace() 84 PrimaryWithin = llvm::dyn_cast_or_null<DeclContext>(TD->getDefinition()); in LookupNamed()
|
H A D | CodeCompletion.cpp | 344 << std::distance(Record->getDefinition()->method_begin(), in completeVisibleDeclsMap() 345 Record->getDefinition()->method_end()) in completeVisibleDeclsMap()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | RecordLayout.h | 252 Base = Base->getDefinition(); in getBaseClassOffset() 262 VBase = VBase->getDefinition(); in getVBaseClassOffset()
|
H A D | Decl.h | 1274 VarDecl *getDefinition(ASTContext &); 1275 const VarDecl *getDefinition(ASTContext &C) const { in getDefinition() function 1276 return const_cast<VarDecl*>(this)->getDefinition(C); in getDefinition() 1278 VarDecl *getDefinition() { in getDefinition() function 1279 return getDefinition(getASTContext()); in getDefinition() 1281 const VarDecl *getDefinition() const { in getDefinition() function 1282 return const_cast<VarDecl*>(this)->getDefinition(); in getDefinition() 2214 FunctionDecl *getDefinition() { in getDefinition() function 2220 const FunctionDecl *getDefinition() const { in getDefinition() function 2221 return const_cast<FunctionDecl *>(this)->getDefinition(); in getDefinition() [all …]
|
H A D | DeclObjC.h | 1453 if (const ObjCInterfaceDecl *Def = getDefinition()) in ivar_begin() 1461 if (const ObjCInterfaceDecl *Def = getDefinition()) in ivar_end() 1523 return getDefinition() == this; in isThisDeclarationADefinition() 1541 ObjCInterfaceDecl *getDefinition() { in getDefinition() function 1548 const ObjCInterfaceDecl *getDefinition() const { in getDefinition() function 2247 ObjCProtocolDecl *getDefinition() { in getDefinition() function 2252 const ObjCProtocolDecl *getDefinition() const { in getDefinition() function 2259 return getDefinition() == this; in isThisDeclarationADefinition()
|
/freebsd/contrib/llvm-project/clang/lib/Lex/ |
H A D | MacroInfo.cpp | 198 MacroDirective::DefInfo MacroDirective::getDefinition() { in getDefinition() function in MacroDirective 223 for (DefInfo Def = getDefinition(); Def; Def = Def.getPreviousDefinition()) { in findDirectiveAtLoc()
|
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/ |
H A D | CallGraph.h | 197 FunctionDecl *getDefinition() const { in getDefinition() function 198 return getDecl()->getAsFunction()->getDefinition(); in getDefinition()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | PaddingChecker.cpp | 78 if (!(RD = RD->getDefinition())) in visitRecord() 134 if (!(RD = RD->getDefinition())) in shouldSkipDecl()
|
H A D | LLVMConventionsChecker.cpp | 250 const RecordDecl *RD = RT->getDecl()->getDefinition(); in Visit()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenTBAA.cpp | 104 const RecordDecl *RD = TTy->getDecl()->getDefinition(); in isValidBaseType() 346 const RecordDecl *RD = TTy->getDecl()->getDefinition(); in CollectFields() 427 const RecordDecl *RD = TTy->getDecl()->getDefinition(); in getBaseTypeInfoHelper()
|
H A D | ModuleBuilder.cpp | 122 if (auto Def = TD->getDefinition()) in GetDeclForMangledName()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTCommon.cpp | 314 if (const TagDecl *Def = cast<TagDecl>(DC)->getDefinition()) in getDefinitiveDeclContext() 343 = cast<ObjCProtocolDecl>(DC)->getDefinition()) in getDefinitiveDeclContext()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | UsedDeclVisitor.h | 75 if (Record->getDefinition()) in VisitCXXDeleteExpr()
|
H A D | SemaDeclObjC.cpp | 866 ->getDefinition() == prevTypeParam->getDeclContext())) { in checkTypeParamListConsistency() 1055 if (ObjCInterfaceDecl *Def = PrevIDecl->getDefinition()) { in ActOnStartClassInterface() 1228 if (ObjCProtocolDecl *Def = PrevDecl? PrevDecl->getDefinition() : nullptr) { in ActOnStartProtocolInterface() 1295 !PDecl->getDefinition()->isUnconditionallyVisible()) { in NestedProtocolHasNoDefinition() 1334 if (!PDecl->isThisDeclarationADefinition() && PDecl->getDefinition()) in FindProtocolDeclaration() 1335 PDecl = PDecl->getDefinition(); in FindProtocolDeclaration() 1472 if (!proto->isThisDeclarationADefinition() && proto->getDefinition()) in actOnObjCTypeArgsOrProtocolQualifiers() 1473 proto = proto->getDefinition(); in actOnObjCTypeArgsOrProtocolQualifiers() 2764 PDecl->getDefinition()) in CheckProtocolMethodDefs() 2765 PDecl = PDecl->getDefinition(); in CheckProtocolMethodDefs() [all …]
|
H A D | SemaLookup.cpp | 1000 if (!Class->getDefinition() || Class->isDependentContext()) in CanDeclareSpecialMemberFunction() 1068 if (Record->getDefinition() && CanDeclareSpecialMemberFunction(Record)) { in DeclareImplicitMemberFunctionsWithName() 1082 if (Record->getDefinition() && Record->needsImplicitDestructor() && in DeclareImplicitMemberFunctionsWithName() 1092 if (Record->getDefinition() && CanDeclareSpecialMemberFunction(Record)) { in DeclareImplicitMemberFunctionsWithName() 2465 if (!LookupRec || !LookupRec->getDefinition()) in LookupQualifiedName() 3297 RD = RD->getDefinition(); in LookupSpecialMember() 5531 return VD->getDefinition(); in getDefinitionToImport() 5533 return FD->getDefinition(); in getDefinitionToImport() 5535 return TD->getDefinition(); in getDefinitionToImport() 5537 return ID->getDefinition(); in getDefinitionToImport() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | XCore.cpp | 382 const RecordDecl *RD = RT->getDecl()->getDefinition(); in appendRecordType() 431 if (const EnumDecl *ED = ET->getDecl()->getDefinition()) { in appendEnumType()
|
/freebsd/contrib/llvm-project/clang/lib/Index/ |
H A D | IndexTypeSourceInfo.cpp | 227 RD = RD->getDefinition(); in VisitDependentNameTypeLoc()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
H A D | ClangASTImporter.cpp | 660 clang::RecordDecl *definition = origin_record.decl->getDefinition(); in importRecordLayoutFromOrigin() 934 if (tag_decl->getDefinition() || tag_decl->isBeingDefined()) in RequireCompleteType() 1242 if (rd->getDefinition()) in MaybeCompleteReturnType()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
H A D | DataflowAnalysisContext.cpp | 295 F = F->getDefinition(); in getAdornedCFG()
|