| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/ |
| H A D | TypeTraits.cpp | 23 return Record && Record->hasDefinition() && in classHasTrivialCopyAndDestroy() 30 if (!Record || !Record->hasDefinition()) in hasDeletedCopyConstructor() 154 return Record && Record->hasDefinition() && in hasNonTrivialMoveConstructor() 160 return Record && Record->hasDefinition() && in hasNonTrivialMoveAssignment()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | DeclObjC.h | 1350 if (!hasDefinition()) in protocol_begin() 1361 if (!hasDefinition()) in protocol_end() 1379 if (!hasDefinition()) in protocol_loc_begin() 1390 if (!hasDefinition()) in protocol_loc_end() 1409 if (!hasDefinition()) in all_referenced_protocol_begin() 1422 if (!hasDefinition()) in all_referenced_protocol_end() 1553 if (!hasDefinition()) in getSuperClassTInfo() 1764 if (!hasDefinition()) in getCategoryListRaw() 1857 if (!hasDefinition()) in getEndOfDefinitionLoc() 2122 if (!hasDefinition()) in protocol_begin() [all …]
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | DynamicTypeChecker.cpp | 145 static bool hasDefinition(const ObjCObjectPointerType *ObjPtr) { in hasDefinition() function 179 if (!hasDefinition(DynObjCType) || !hasDefinition(StaticObjCType)) in checkPostStmt()
|
| H A D | DeleteWithNonVirtualDtorChecker.cpp | 79 if (!BaseClass->hasDefinition() || !DerivedClass->hasDefinition()) in checkPreStmt()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | PtrTypesSemantics.cpp | 24 assert(R->hasDefinition()); in hasPublicRefAndDeref() 59 if (!R->hasDefinition()) in isRefCountable()
|
| H A D | NoUncountedMembersChecker.cpp | 79 if (MemberCXXRD->hasDefinition()) { in visitRecordDecl()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | ForwardDeclarationNamespaceCheck.cpp | 123 if (CurDecl->hasDefinition() || CurDecl->isReferenced()) { in onEndOfTranslationUnit() 138 if (!CurDecl->hasDefinition() && in onEndOfTranslationUnit()
|
| H A D | VirtualNearMissCheck.cpp | 76 if (!DRD->hasDefinition() || !BRD->hasDefinition()) in checkOverridingFunctionReturnType()
|
| H A D | NotNullTerminatedResultCheck.cpp | 516 AST_MATCHER_P(Expr, hasDefinition, ast_matchers::internal::Matcher<Expr>, in AST_MATCHER_P() argument 650 anyOf(allOf(hasDefinition(anyOf(AnyOfDestInit, DestArrayTyDecl, in registerMatchers() 709 allOf(unless(hasDefinition(SizeOfCharExpr)), in registerMatchers() 711 ? ignoringImpCasts(hasDefinition(HasIncOp)) in registerMatchers() 713 unless(hasDefinition(HasIncOp)), in registerMatchers() 714 anyOf(hasDefinition(binaryOperator().bind( in registerMatchers() 716 hasDefinition(anything())))), in registerMatchers()
|
| H A D | UndefinedMemoryManipulationCheck.cpp | 22 return Node.hasDefinition() ? !Node.isTriviallyCopyable() : false; in AST_MATCHER()
|
| H A D | UnusedRaiiCheck.cpp | 22 return Node.hasDefinition() && Node.hasNonTrivialDestructor(); in AST_MATCHER()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | DeclObjC.cpp | 353 if (!hasDefinition()) in getSuperClass() 386 if (!hasDefinition()) in FindPropertyVisibleInPrimaryClass() 633 if (!hasDefinition()) in lookupInstanceVariable() 664 if (!hasDefinition()) in lookupInheritedClass() 699 if (!hasDefinition()) in lookupMethod() 753 if (!hasDefinition()) in lookupPrivateMethod() 1561 assert(hasDefinition() && in setExternallyCompleted() 1645 if (!hasDefinition()) in all_declared_ivar_begin() 1722 if (!hasDefinition()) in FindCategoryDeclaration() 1762 if (!hasDefinition()) in ClassImplementsProtocol() [all …]
|
| H A D | MicrosoftCXXABI.cpp | 225 if (!hasDefinition() || isParsingBaseSpecifiers()) in calculateInheritanceModel() 243 (hasDefinition() && isPolymorphic()); in nullFieldOffsetIsZero()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/fuchsia/ |
| H A D | VirtualInheritanceCheck.cpp | 21 if (!Node.hasDefinition()) return false; in AST_MATCHER()
|
| H A D | MultipleInheritanceCheck.cpp | 22 if (Node.hasDefinition()) in AST_MATCHER()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | CocoaConventions.cpp | 87 if (!ID->hasDefinition()) in isCocoaObjectRef()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | HeuristicResolver.cpp | 259 if (!RD->hasDefinition()) in resolveDependentMember()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/ |
| H A D | MemberwiseConstructor.cpp | 181 if (!C.hasDefinition()) in considerClassValue()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaFixItUtils.cpp | 209 if (!RD || !RD->hasDefinition()) in getFixItZeroInitializerForType()
|
| H A D | SemaDeclObjC.cpp | 65 if (!resultClass->hasDefinition()) { in checkInitMethod() 1078 if (!IDecl->hasDefinition()) in ActOnStartClassInterface() 1201 if (!PDecl->hasDefinition()) in CheckForwardProtocolDeclarationForCircularDependency() 1282 if (!PDecl->hasDefinition() || in NestedProtocolHasNoDefinition() 1908 if (IDecl && IDecl->hasDefinition()) { in ActOnStartCategoryImplementation() 2016 if (SDecl && !SDecl->hasDefinition()) in ActOnStartClassImplementation() 2057 if (!IDecl->hasDefinition()) in ActOnStartClassImplementation() 4334 if (!protocol->hasDefinition()) in searchFrom() 4366 if (!iface->hasDefinition()) in searchFrom()
|
| /llvm-project-15.0.7/clang/lib/Index/ |
| H A D | IndexTypeSourceInfo.cpp | 225 if (!RD->hasDefinition()) in VisitDependentNameTypeLoc()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | SuspiciousCallArgumentCheck.cpp | 464 if (!ArgDecl || !ArgDecl->hasDefinition() || !ParamDecl || in areTypesCompatible() 465 !ParamDecl->hasDefinition()) in areTypesCompatible()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGCUDANV.cpp | 1046 registerDeviceVar(D, GV, !D->hasDefinition(), in handleVarRegistration() 1062 registerDeviceSurf(D, GV, !D->hasDefinition(), SurfType.getSExtValue()); in handleVarRegistration() 1070 registerDeviceTex(D, GV, !D->hasDefinition(), TexType.getSExtValue(), in handleVarRegistration()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | Store.cpp | 339 if (!TargetType->isVoidType() && MRClass->hasDefinition()) { in evalBaseToDerived()
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/ |
| H A D | ASTMatchersNarrowingTest.cpp | 3863 EXPECT_TRUE(matches("struct x {};", cxxRecordDecl(hasDefinition()))); in TEST_P() 3864 EXPECT_TRUE(notMatches("struct x;", cxxRecordDecl(hasDefinition()))); in TEST_P() 3872 EXPECT_TRUE(matches("class x {};", cxxRecordDecl(hasDefinition()))); in TEST_P() 3873 EXPECT_TRUE(notMatches("class x;", cxxRecordDecl(hasDefinition()))); in TEST_P() 3881 EXPECT_TRUE(matches("union x {};", cxxRecordDecl(hasDefinition()))); in TEST_P() 3882 EXPECT_TRUE(notMatches("union x;", cxxRecordDecl(hasDefinition()))); in TEST_P()
|