Home
last modified time | relevance | path

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

12345

/external/llvm-project/clang-tools-extra/clang-tidy/utils/
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()
/external/llvm-project/clang/include/clang/AST/
DDeclObjC.h1340 assert(hasDefinition() && "Caller did not check for forward reference!"); in getReferencedProtocols()
1370 if (!hasDefinition()) in protocol_begin()
1381 if (!hasDefinition()) in protocol_end()
1399 if (!hasDefinition()) in protocol_loc_begin()
1410 if (!hasDefinition()) in protocol_loc_end()
1429 if (!hasDefinition()) in all_referenced_protocol_begin()
1442 if (!hasDefinition()) in all_referenced_protocol_end()
1533 bool hasDefinition() const { in hasDefinition() function
1548 return hasDefinition()? Data.getPointer()->Definition : nullptr; in getDefinition()
1555 return hasDefinition()? Data.getPointer()->Definition : nullptr; in getDefinition()
[all …]
/external/clang/include/clang/AST/
DDeclObjC.h1255 assert(hasDefinition() && "Caller did not check for forward reference!"); in getReferencedProtocols()
1283 if (!hasDefinition()) in protocol_begin()
1293 if (!hasDefinition()) in protocol_end()
1310 if (!hasDefinition()) in protocol_loc_begin()
1321 if (!hasDefinition()) in protocol_loc_end()
1339 if (!hasDefinition()) in all_referenced_protocol_begin()
1351 if (!hasDefinition()) in all_referenced_protocol_end()
1440 bool hasDefinition() const { in hasDefinition() function
1455 return hasDefinition()? Data.getPointer()->Definition : nullptr; in getDefinition()
1462 return hasDefinition()? Data.getPointer()->Definition : nullptr; in getDefinition()
[all …]
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DDynamicTypeChecker.cpp145 static bool hasDefinition(const ObjCObjectPointerType *ObjPtr) { in hasDefinition() function
179 if (!hasDefinition(DynObjCType) || !hasDefinition(StaticObjCType)) in checkPostStmt()
DDeleteWithNonVirtualDtorChecker.cpp79 if (!BaseClass->hasDefinition() || !DerivedClass->hasDefinition()) in checkPreStmt()
/external/clang/lib/StaticAnalyzer/Checkers/
DDynamicTypeChecker.cpp154 static bool hasDefinition(const ObjCObjectPointerType *ObjPtr) { in hasDefinition() function
188 if (!hasDefinition(DynObjCType) || !hasDefinition(StaticObjCType)) in checkPostStmt()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
DPtrTypesSemantics.cpp24 assert(R->hasDefinition()); in hasPublicRefAndDeref()
59 if (!R->hasDefinition()) in isRefCountable()
DNoUncountedMembersChecker.cpp79 if (MemberCXXRD->hasDefinition()) { in visitRecordDecl()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DForwardDeclarationNamespaceCheck.cpp123 if (CurDecl->hasDefinition() || CurDecl->isReferenced()) { in onEndOfTranslationUnit()
138 if (!CurDecl->hasDefinition() && in onEndOfTranslationUnit()
DVirtualNearMissCheck.cpp76 if (!DRD->hasDefinition() || !BRD->hasDefinition()) in checkOverridingFunctionReturnType()
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()
DUndefinedMemoryManipulationCheck.cpp22 return Node.hasDefinition() ? !Node.isTriviallyCopyable() : false; in AST_MATCHER()
DUnusedRaiiCheck.cpp22 return Node.hasDefinition() && Node.hasNonTrivialDestructor(); in AST_MATCHER()
/external/clang/lib/AST/
DDeclObjC.cpp316 if (!hasDefinition()) in getSuperClass()
350 if (!hasDefinition()) in FindPropertyVisibleInPrimaryClass()
572 assert(!hasDefinition() && "ObjC class already has a definition"); in allocateDefinitionData()
594 if (!hasDefinition()) in lookupInstanceVariable()
625 if (!hasDefinition()) in lookupInheritedClass()
660 if (!hasDefinition()) in lookupMethod()
715 if (!hasDefinition()) in lookupPrivateMethod()
1442 assert(hasDefinition() && in setExternallyCompleted()
1523 if (!hasDefinition()) in all_declared_ivar_begin()
1595 if (!hasDefinition()) in FindCategoryDeclaration()
[all …]
DMicrosoftCXXABI.cpp170 if (!hasDefinition() || isParsingBaseSpecifiers()) in calculateInheritanceModel()
/external/llvm-project/clang/lib/AST/
DDeclObjC.cpp341 if (!hasDefinition()) in getSuperClass()
374 if (!hasDefinition()) in FindPropertyVisibleInPrimaryClass()
568 if (!HasCompleteDef && getCanonicalDecl()->hasDefinition() && in isDesignatedInitializer()
603 assert(!hasDefinition() && "ObjC class already has a definition"); in allocateDefinitionData()
625 if (!hasDefinition()) in lookupInstanceVariable()
656 if (!hasDefinition()) in lookupInheritedClass()
691 if (!hasDefinition()) in lookupMethod()
745 if (!hasDefinition()) in lookupPrivateMethod()
1546 assert(hasDefinition() && in setExternallyCompleted()
1630 if (!hasDefinition()) in all_declared_ivar_begin()
[all …]
DMicrosoftCXXABI.cpp159 if (!hasDefinition() || isParsingBaseSpecifiers()) in calculateInheritanceModel()
177 (hasDefinition() && isPolymorphic()); in nullFieldOffsetIsZero()
/external/llvm-project/clang-tools-extra/clang-tidy/fuchsia/
DVirtualInheritanceCheck.cpp21 if (!Node.hasDefinition()) return false; in AST_MATCHER()
DMultipleInheritanceCheck.cpp22 if (Node.hasDefinition()) in AST_MATCHER()
/external/llvm-project/clang/lib/Analysis/
DCocoaConventions.cpp87 if (!ID->hasDefinition()) in isCocoaObjectRef()
/external/clang/lib/Analysis/
DCocoaConventions.cpp81 if (!ID->hasDefinition()) in isCocoaObjectRef()
/external/clang/lib/Sema/
DSemaFixItUtils.cpp210 if (!RD || !RD->hasDefinition()) in getFixItZeroInitializerForType()
/external/llvm-project/clang/lib/Sema/
DSemaFixItUtils.cpp209 if (!RD || !RD->hasDefinition()) in getFixItZeroInitializerForType()
/external/llvm-project/clang/lib/Index/
DIndexTypeSourceInfo.cpp215 if (!RD->hasDefinition()) in VisitDependentNameTypeLoc()
/external/clang/include/clang/Sema/
DSemaInternal.h75 if (Var->hasDefinition(SemaRef.Context) == VarDecl::DeclarationOnly && in MarkVarDeclODRUsed()

12345