| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | ASTImporterODRStrategiesTest.cpp | 247 static std::string getDefinition() { return TypeParam::Definition; } in getDefinition() function 305 TypedTest_ImportAfter<getDefinition, getConflictingDefinition, in TypedTest_ImportConflictingDefAfterDef() 313 TypedTest_ImportAfter<getDefinition, getConflictingPrototype, in TypedTest_ImportConflictingProtoAfterDef() 317 TypedTest_ImportAfter<getConflictingPrototype, getDefinition, in TypedTest_ImportConflictingDefAfterProto() 329 TypedTest_ImportAfter<getDefinition, getConflictingProtoDef, in TypedTest_ImportConflictingProtoDefAfterDef() 333 TypedTest_ImportAfter<getConflictingProtoDef, getDefinition, in TypedTest_ImportConflictingDefAfterProtoDef() 342 TypedTest_ImportAfter<getDefinition, getConflictingDefinition, in TypedTest_DontImportConflictingDefAfterDef() 346 TypedTest_ImportAfter<getDefinition, getConflictingPrototype, in TypedTest_DontImportConflictingProtoAfterDef() 350 TypedTest_ImportAfter<getConflictingPrototype, getDefinition, in TypedTest_DontImportConflictingDefAfterProto() 362 TypedTest_ImportAfter<getDefinition, getConflictingProtoDef, in TypedTest_DontImportConflictingProtoDefAfterDef() [all …]
|
| H A D | ASTImporterGenericRedeclTest.cpp | 139 std::string getDefinition() { return TypeParam::Definition; } in getDefinition() function 200 Decl *FromTU = getTuDecl(getDefinition(), Lang_CXX03); in TypedTest_DefinitionShouldBeImportedAsADefinition() 238 Decl *FromTU = getTuDecl(getPrototype() + getDefinition(), Lang_CXX03); in TypedTest_ImportDefinitionAfterImportedPrototype() 260 Decl *FromTU = getTuDecl(getDefinition() + getPrototype(), Lang_CXX03); in TypedTest_ImportPrototypeAfterImportedDefinition() 305 Decl *FromTU0 = getTuDecl(getDefinition(), Lang_CXX03, "input0.cc"); in TypedTest_ImportDefinitions() 306 Decl *FromTU1 = getTuDecl(getDefinition(), Lang_CXX03, "input1.cc"); in TypedTest_ImportDefinitions() 327 Decl *FromTUDef = getTuDecl(getDefinition(), Lang_CXX03, "input0.cc"); in TypedTest_ImportDefinitionThenPrototype() 353 Decl *FromTUDef = getTuDecl(getDefinition(), Lang_CXX03, "input1.cc"); in TypedTest_ImportPrototypeThenDefinition() 377 Decl *FromTU = getTuDecl(getPrototype() + getDefinition(), Lang_CXX03); in TypedTest_WholeRedeclChainIsImportedAtOnce() 398 getTuDecl(getPrototype() + getDefinition(), Lang_CXX03, "input1.cc"); in TypedTest_ImportPrototypeThenProtoAndDefinition()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/fuchsia/ |
| H A D | MultipleInheritanceCheck.cpp | 76 const RecordDecl *D = Ty->getDecl()->getDefinition(); in isInterface() 105 const auto *Base = cast<CXXRecordDecl>(Ty->getDecl()->getDefinition()); in check() 114 const auto *Base = cast<CXXRecordDecl>(Ty->getDecl()->getDefinition()); in check()
|
| /llvm-project-15.0.7/clang/include/clang/Lex/ |
| H A D | MacroInfo.h | 403 DefInfo getDefinition(); 404 const DefInfo getDefinition() const { in getDefinition() function 405 return const_cast<MacroDirective *>(this)->getDefinition(); in getDefinition() 409 if (const DefInfo Def = getDefinition()) in isDefined() 415 return getDefinition().getMacroInfo(); in getMacroInfo() 417 MacroInfo *getMacroInfo() { return getDefinition().getMacroInfo(); } in getMacroInfo() 502 return DefDirective->getPrevious()->getDefinition(); in getPreviousDefinition()
|
| H A D | PreprocessingRecord.h | 188 if (MacroDefinitionRecord *Def = getDefinition()) in getName() 195 MacroDefinitionRecord *getDefinition() const { in getDefinition() function
|
| /llvm-project-15.0.7/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRFindingAction.cpp | 117 if (!RecordDecl->getDefinition()) { in handleCXXRecordDecl() 121 RecordDecl = RecordDecl->getDefinition(); in handleCXXRecordDecl() 157 const auto* RecordDecl = RD->getDefinition(); in addUSRsOfCtorDtors()
|
| /llvm-project-15.0.7/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 2139 FunctionDecl *getDefinition() { in getDefinition() function 2145 const FunctionDecl *getDefinition() const { in getDefinition() function 3557 TagDecl *getDefinition() const; 3749 EnumDecl *getDefinition() const { in getDefinition() function 3784 const EnumDecl *E = getDefinition(); in enumerator_begin() 3791 const EnumDecl *E = getDefinition(); in enumerator_end() [all …]
|
| /llvm-project-15.0.7/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() 254 if (const ObjCProtocolDecl *Def = Proto->getDefinition()) in FindPropertyDeclaration() 327 if (const ObjCInterfaceDecl *def = getDefinition()) in getTypeParamList() 581 getCanonicalDecl()->getDefinition() == getDefinition()) in isDesignatedInitializer() 1601 if (const ObjCInterfaceDecl *Def = getDefinition()) { in getImplementation() 1974 const ObjCProtocolDecl *Def = getDefinition(); in lookupMethod() 2003 if (const ObjCProtocolDecl *PDecl = getDefinition()) { in collectPropertiesToImplement() 2020 if (const ObjCProtocolDecl *PDecl = getDefinition()) { in collectInheritedProtocolProperties() 2129 ClassInterface = ClassInterface->getDefinition(); in Create() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | ConfusableIdentifierCheck.cpp | 130 RD0 = RD0->getDefinition(); in mayShadow() 135 RD1 = RD1->getDefinition(); in mayShadow()
|
| H A D | NoRecursionCheck.cpp | 207 FunctionDecl *D = N->getDefinition(); in handleSCC() 230 FunctionDecl *CycleEntryFn = CyclicCallStack.front().Callee->getDefinition(); in handleSCC()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
| H A D | InterfacesGlobalInitCheck.cpp | 45 const auto *const ReferenceeDef = Referencee->getDefinition(); in check()
|
| H A D | SlicingCheck.cpp | 94 BaseRecordType->getDecl()->getDefinition())) in diagnoseSlicedOverriddenMethods()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cert/ |
| H A D | DefaultOperatorNewAlignmentCheck.cpp | 36 if (!D || !D->getDefinition() || !D->isCompleteDefinition()) in check()
|
| /llvm-project-15.0.7/clang/lib/AST/Interp/ |
| H A D | Program.cpp | 204 F = F->getDefinition(); in getFunction() 215 if (const FunctionDecl *FD = F->getDefinition()) in getOrCreateFunction() 224 RD = RD->getDefinition(); in getOrCreateRecord()
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/clang/include/clang/Analysis/ |
| H A D | CallGraph.h | 197 FunctionDecl *getDefinition() const { in getDefinition() function 198 return getDecl()->getAsFunction()->getDefinition(); in getDefinition()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/ |
| H A D | UninitializedObjectChecker.cpp | 280 const RecordDecl *RD = R->getValueType()->getAsRecordDecl()->getDefinition(); in isNonUnionUninit() 520 return M->getDefinition()->getBody(); in getMethodBody() 533 Parent = Parent->getDefinition(); in hasUnguardedAccess()
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | SuspiciousMemoryComparisonCheck.cpp | 55 PointeeType->getAsRecordDecl()->getDefinition()) { in check()
|
| H A D | CopyConstructorInitCheck.cpp | 58 BaseType->getAsCXXRecordDecl()->getDefinition(); in check()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | PaddingChecker.cpp | 78 if (!(RD = RD->getDefinition())) in visitRecord() 134 if (!(RD = RD->getDefinition())) in shouldSkipDecl()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | UsedDeclVisitor.h | 75 if (Record->getDefinition()) in VisitCXXDeleteExpr()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTCommon.cpp | 301 if (const TagDecl *Def = cast<TagDecl>(DC)->getDefinition()) in getDefinitiveDeclContext() 330 = cast<ObjCProtocolDecl>(DC)->getDefinition()) in getDefinitiveDeclContext()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | PtrTypesSemantics.cpp | 68 R = R->getDefinition(); in isRefCountable()
|