Home
last modified time | relevance | path

Searched refs:hasDefinition (Results 1 – 25 of 78) sorted by relevance

1234

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DTypeTraits.cpp23 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 DDeclObjC.h1350 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 DDynamicTypeChecker.cpp145 static bool hasDefinition(const ObjCObjectPointerType *ObjPtr) { in hasDefinition() function
179 if (!hasDefinition(DynObjCType) || !hasDefinition(StaticObjCType)) in checkPostStmt()
H A DDeleteWithNonVirtualDtorChecker.cpp79 if (!BaseClass->hasDefinition() || !DerivedClass->hasDefinition()) in checkPreStmt()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DPtrTypesSemantics.cpp24 assert(R->hasDefinition()); in hasPublicRefAndDeref()
59 if (!R->hasDefinition()) in isRefCountable()
H A DNoUncountedMembersChecker.cpp79 if (MemberCXXRD->hasDefinition()) { in visitRecordDecl()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DForwardDeclarationNamespaceCheck.cpp123 if (CurDecl->hasDefinition() || CurDecl->isReferenced()) { in onEndOfTranslationUnit()
138 if (!CurDecl->hasDefinition() && in onEndOfTranslationUnit()
H A DVirtualNearMissCheck.cpp76 if (!DRD->hasDefinition() || !BRD->hasDefinition()) in checkOverridingFunctionReturnType()
H A DNotNullTerminatedResultCheck.cpp516 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 DUndefinedMemoryManipulationCheck.cpp22 return Node.hasDefinition() ? !Node.isTriviallyCopyable() : false; in AST_MATCHER()
H A DUnusedRaiiCheck.cpp22 return Node.hasDefinition() && Node.hasNonTrivialDestructor(); in AST_MATCHER()
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclObjC.cpp353 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 DMicrosoftCXXABI.cpp225 if (!hasDefinition() || isParsingBaseSpecifiers()) in calculateInheritanceModel()
243 (hasDefinition() && isPolymorphic()); in nullFieldOffsetIsZero()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/fuchsia/
H A DVirtualInheritanceCheck.cpp21 if (!Node.hasDefinition()) return false; in AST_MATCHER()
H A DMultipleInheritanceCheck.cpp22 if (Node.hasDefinition()) in AST_MATCHER()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DCocoaConventions.cpp87 if (!ID->hasDefinition()) in isCocoaObjectRef()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DHeuristicResolver.cpp259 if (!RD->hasDefinition()) in resolveDependentMember()
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DMemberwiseConstructor.cpp181 if (!C.hasDefinition()) in considerClassValue()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaFixItUtils.cpp209 if (!RD || !RD->hasDefinition()) in getFixItZeroInitializerForType()
H A DSemaDeclObjC.cpp65 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 DIndexTypeSourceInfo.cpp225 if (!RD->hasDefinition()) in VisitDependentNameTypeLoc()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DSuspiciousCallArgumentCheck.cpp464 if (!ArgDecl || !ArgDecl->hasDefinition() || !ParamDecl || in areTypesCompatible()
465 !ParamDecl->hasDefinition()) in areTypesCompatible()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGCUDANV.cpp1046 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 DStore.cpp339 if (!TargetType->isVoidType() && MRClass->hasDefinition()) { in evalBaseToDerived()
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersNarrowingTest.cpp3863 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()

1234