| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | MacroInfo.h | 379 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 D | PreprocessingRecord.h | 189 if (MacroDefinitionRecord *Def = getDefinition()) in getName() 196 MacroDefinitionRecord *getDefinition() const { in getDefinition() function
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRFindingAction.cpp | 117 if (!RecordDecl->getDefinition()) { in handleCXXRecordDecl() 121 RecordDecl = RecordDecl->getDefinition(); in handleCXXRecordDecl() 159 const auto* RecordDecl = RD->getDefinition(); in addUSRsOfCtorDtors()
|
| /freebsd-13.1/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 | 1241 VarDecl *getDefinition(ASTContext &); 1245 VarDecl *getDefinition() { in getDefinition() function 1246 return getDefinition(getASTContext()); in getDefinition() 1248 const VarDecl *getDefinition() const { in getDefinition() function 2114 FunctionDecl *getDefinition() { in getDefinition() function 2120 const FunctionDecl *getDefinition() const { in getDefinition() function 3488 TagDecl *getDefinition() const; 3680 EnumDecl *getDefinition() const { in getDefinition() function 3711 const EnumDecl *E = getDefinition(); in enumerator_begin() 3718 const EnumDecl *E = getDefinition(); in enumerator_end() [all …]
|
| H A D | DeclObjC.h | 1437 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()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclObjC.cpp | 97 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() 569 getCanonicalDecl()->getDefinition() == getDefinition()) in isDesignatedInitializer() 1585 if (const ObjCInterfaceDecl *Def = getDefinition()) { in getImplementation() 1953 const ObjCProtocolDecl *Def = getDefinition(); in lookupMethod() 1982 if (const ObjCProtocolDecl *PDecl = getDefinition()) { in collectPropertiesToImplement() 1999 if (const ObjCProtocolDecl *PDecl = getDefinition()) { in collectInheritedProtocolProperties() 2108 ClassInterface = ClassInterface->getDefinition(); in Create() [all …]
|
| H A D | DeclBase.cpp | 483 Definition = ID->getDefinition(); in getExternalSourceSymbolAttr() 485 Definition = PD->getDefinition(); in getExternalSourceSymbolAttr() 487 Definition = TD->getDefinition(); in getExternalSourceSymbolAttr() 1244 if (auto *Def = OID->getDefinition()) in getPrimaryContext() 1250 if (auto *Def = OPD->getDefinition()) in getPrimaryContext() 1267 if (TagDecl *Def = Tag->getDefinition()) in getPrimaryContext()
|
| H A D | ExternalASTMerger.cpp | 315 if (!SourceTag->getDefinition()) in CompleteType() 335 if (!SourceInterface->getDefinition()) in CompleteType()
|
| H A D | ASTImporter.cpp | 1723 if (FromEnum->getDefinition() && !ToEnum->getDefinition()) { in ImportDefinitionIfNeeded() 4495 if (To->getDefinition()) { in ImportDefinition() 4886 if (To->getDefinition()) { in ImportDefinition() 8642 if (ToClass->getDefinition()) { in ImportContext() 8653 if (ToProto->getDefinition()) { in ImportContext() 9151 if (!ToRecord->getDefinition()) { in ImportDefinition() 9159 if (!ToEnum->getDefinition()) { in ImportDefinition() 9166 if (!ToIFace->getDefinition()) { in ImportDefinition() 9174 if (!ToProto->getDefinition()) { in ImportDefinition() 9465 if (!ID->getDefinition()) in CompleteDecl() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | Program.cpp | 189 F = F->getDefinition(); in getFunction() 200 if (const FunctionDecl *FD = F->getDefinition()) in getOrCreateFunction() 209 RD = RD->getDefinition(); in getOrCreateRecord()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Lex/ |
| H A D | MacroInfo.cpp | 178 MacroDirective::DefInfo MacroDirective::getDefinition() { in getDefinition() function in MacroDirective 205 for (DefInfo Def = getDefinition(); Def; Def = Def.getPreviousDefinition()) { in findDirectiveAtLoc()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenTBAA.cpp | 101 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 D | ModuleBuilder.cpp | 119 if (auto Def = TD->getDefinition()) in GetDeclForMangledName()
|
| /freebsd-13.1/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-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/ |
| H A D | UninitializedObjectChecker.cpp | 282 const RecordDecl *RD = R->getValueType()->getAsRecordDecl()->getDefinition(); in isNonUnionUninit() 522 return M->getDefinition()->getBody(); in getMethodBody() 535 Parent = Parent->getDefinition(); in hasUnguardedAccess()
|
| /freebsd-13.1/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 | DynamicTypeChecker.cpp | 150 return Decl->getDefinition(); in hasDefinition()
|
| H A D | IvarInvalidationChecker.cpp | 258 containsInvalidationMethod(I->getDefinition(), OutInfo, Partial); in containsInvalidationMethod() 272 containsInvalidationMethod(I->getDefinition(), OutInfo, Partial); in containsInvalidationMethod()
|
| H A D | LLVMConventionsChecker.cpp | 250 const RecordDecl *RD = RT->getDecl()->getDefinition(); in Visit()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTCommon.cpp | 298 if (const TagDecl *Def = cast<TagDecl>(DC)->getDefinition()) in getDefinitiveDeclContext() 327 = cast<ObjCProtocolDecl>(DC)->getDefinition()) in getDefinitiveDeclContext()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | PtrTypesSemantics.cpp | 68 R = R->getDefinition(); in isRefCountable()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | CallGraph.cpp | 98 if (FunctionDecl *Def = Ctor->getDefinition()) in VisitCXXConstructExpr()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaDeclObjC.cpp | 1059 if (ObjCInterfaceDecl *Def = PrevIDecl->getDefinition()) { in ActOnStartClassInterface() 1281 !PDecl->getDefinition()->isUnconditionallyVisible()) { in NestedProtocolHasNoDefinition() 1318 if (!PDecl->isThisDeclarationADefinition() && PDecl->getDefinition()) in FindProtocolDeclaration() 1319 PDecl = PDecl->getDefinition(); in FindProtocolDeclaration() 1462 proto = proto->getDefinition(); in actOnObjCTypeArgsOrProtocolQualifiers() 2741 PDecl->getDefinition()) in CheckProtocolMethodDefs() 2742 PDecl = PDecl->getDefinition(); in CheckProtocolMethodDefs() 3115 } else if (ObjCInterfaceDecl *Def = PrevIDecl->getDefinition()) { in ActOnForwardClassDeclaration() 3927 if (!PDecl->isThisDeclarationADefinition() && PDecl->getDefinition()) in DiagnoseCategoryDirectMembersProtocolConformance() 3928 PDecl = PDecl->getDefinition(); in DiagnoseCategoryDirectMembersProtocolConformance() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexTypeSourceInfo.cpp | 217 RD = RD->getDefinition(); in VisitDependentNameTypeLoc()
|