Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DDeclObjC.h1323 assert(hasDefinition() && "Caller did not check for forward reference!"); in getReferencedProtocols()
1353 if (!hasDefinition()) in protocol_begin()
1364 if (!hasDefinition()) in protocol_end()
1382 if (!hasDefinition()) in protocol_loc_begin()
1393 if (!hasDefinition()) in protocol_loc_end()
1412 if (!hasDefinition()) in all_referenced_protocol_begin()
1425 if (!hasDefinition()) in all_referenced_protocol_end()
1516 bool hasDefinition() const { in hasDefinition() function
1531 return hasDefinition()? Data.getPointer()->Definition : nullptr; in getDefinition()
1538 return hasDefinition()? Data.getPointer()->Definition : nullptr; in getDefinition()
[all …]
H A DDeclCXX.h555 bool hasDefinition() const { return DefinitionData || dataPtr(); } in hasDefinition() function
575 return !hasDefinition() || isDynamicClass() || hasAnyDependentBases(); in mayBeDynamicClass()
581 return !hasDefinition() || !isDynamicClass() || hasAnyDependentBases(); in mayBeNonDynamicClass()
H A DDecl.h1272 DefinitionKind hasDefinition(ASTContext &) const;
1273 DefinitionKind hasDefinition() const { in hasDefinition() function
1274 return hasDefinition(getASTContext()); in hasDefinition()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DDeclObjC.cpp353 if (!hasDefinition()) in getSuperClass()
386 if (!hasDefinition()) in FindPropertyVisibleInPrimaryClass()
577 if (!HasCompleteDef && getCanonicalDecl()->hasDefinition() && in isDesignatedInitializer()
612 assert(!hasDefinition() && "ObjC class already has a definition"); in allocateDefinitionData()
641 if (!hasDefinition()) in lookupInstanceVariable()
672 if (!hasDefinition()) in lookupInheritedClass()
707 if (!hasDefinition()) in lookupMethod()
761 if (!hasDefinition()) in lookupPrivateMethod()
793 assert(hasDefinition() && "ODRHash only for records with definitions"); in getODRHash()
809 if (!hasDefinition()) in hasODRHash()
[all …]
H A DMicrosoftCXXABI.cpp225 if (!hasDefinition() || isParsingBaseSpecifiers()) in calculateInheritanceModel()
243 (hasDefinition() && isPolymorphic()); in nullFieldOffsetIsZero()
H A DCXXInheritance.cpp261 if (!BaseRecord->hasDefinition() || in lookupInBases()
H A DDeclCXX.cpp494 assert(hasDefinition() && "ODRHash only for records with definitions"); in getODRHash()
1076 if (FieldType->hasDefinition() && !FieldType->allowConstDefaultInit()) in addedMember()
1515 if (!hasDefinition()) in isCLike()
1961 assert(hasDefinition() && "checking for interface-like without a definition"); in isInterfaceLike()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DPtrTypesSemantics.cpp23 assert(R->hasDefinition()); in hasPublicRefAndDeref()
59 if (!R->hasDefinition()) in isRefCountable()
H A DNoUncountedMembersChecker.cpp80 if (MemberCXXRD->hasDefinition()) { in visitRecordDecl()
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DCocoaConventions.cpp87 if (!ID->hasDefinition()) in isCocoaObjectRef()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaFixItUtils.cpp213 if (!RD || !RD->hasDefinition()) in getFixItZeroInitializerForType()
H A DSemaDeclObjC.cpp65 if (!resultClass->hasDefinition()) { in checkInitMethod()
1086 else if (!IDecl->hasDefinition()) in ActOnStartClassInterface()
1209 if (!PDecl->hasDefinition()) in CheckForwardProtocolDeclarationForCircularDependency()
1296 if (!PDecl->hasDefinition() || in NestedProtocolHasNoDefinition()
1922 if (IDecl && IDecl->hasDefinition()) { in ActOnStartCategoryImplementation()
2030 if (SDecl && !SDecl->hasDefinition()) in ActOnStartClassImplementation()
2071 if (!IDecl->hasDefinition()) in ActOnStartClassImplementation()
4342 if (!protocol->hasDefinition()) in searchFrom()
4374 if (!iface->hasDefinition()) in searchFrom()
H A DSemaCXXScopeSpec.cpp583 (!cast<CXXRecordDecl>(LookupCtx)->hasDefinition() || in BuildCXXNestedNameSpecifier()
/openbsd-src/gnu/llvm/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp225 if (!RD->hasDefinition()) in VisitDependentNameTypeLoc()
H A DIndexBody.cpp172 if (!RD->hasDefinition()) in indexDependentReference()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGCUDANV.cpp1059 registerDeviceVar(D, GV, !D->hasDefinition(), in handleVarRegistration()
1075 registerDeviceSurf(D, GV, !D->hasDefinition(), SurfType.getSExtValue()); in handleVarRegistration()
1083 registerDeviceTex(D, GV, !D->hasDefinition(), TexType.getSExtValue(), in handleVarRegistration()
H A DItaniumCXXABI.cpp766 if (RD->hasDefinition()) { in EmitLoadOfMemberFunctionPointer()
2873 if (VD->hasDefinition() && in EmitThreadLocalInitFuncs()
2890 if (!VD->hasDefinition()) { in EmitThreadLocalInitFuncs()
2921 } else if (VD->hasDefinition()) { in EmitThreadLocalInitFuncs()
2956 if (CGM.getTriple().isOSAIX() && VD->hasDefinition() && in EmitThreadLocalInitFuncs()
3381 if (!RD->hasDefinition()) in ShouldUseExternalRTTIDescriptor()
3548 if (!RD->hasDefinition() || !RD->getNumBases()) { in BuildVTablePointer()
3812 if (!RD->hasDefinition() || !RD->getNumBases()) { in BuildTypeInfo()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp340 if (!TargetType->isVoidType() && MRClass->hasDefinition()) { in evalBaseToDerived()
/openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTImporter.cpp979 if (!to_objc_interface->hasDefinition()) in ImportDefinitionTo()
1163 (to_interface_decl->hasDefinition() ? " HasDefinition" : "")); in Imported()
/openbsd-src/gnu/llvm/clang/lib/ARCMigrate/
H A DTransforms.cpp58 if (!AllowOnUnknownClass && !Class->hasDefinition()) in canApplyWeak()
/openbsd-src/gnu/llvm/clang/tools/libclang/
H A DCXIndexDataConsumer.cpp670 bool isRedeclaration = D->hasDefinition() || D->getPreviousDecl(); in handleObjCInterface()
725 bool isRedeclaration = D->hasDefinition() || D->getPreviousDecl(); in handleObjCProtocol()
/openbsd-src/gnu/llvm/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp304 REGISTER_MATCHER(hasDefinition); in RegistryMaps()
/openbsd-src/gnu/llvm/clang/include/clang/ASTMatchers/
H A DASTMatchers.h3256 return Node.hasDefinition() && in AST_MATCHER_P()
8201 AST_MATCHER(CXXRecordDecl, hasDefinition) { in AST_MATCHER() argument
8202 return Node.hasDefinition(); in AST_MATCHER()

123