Home
last modified time | relevance | path

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

123

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DDeclObjC.h1318 assert(hasDefinition() && "Caller did not check for forward reference!"); in getReferencedProtocols()
1348 if (!hasDefinition()) in protocol_begin()
1359 if (!hasDefinition()) in protocol_end()
1377 if (!hasDefinition()) in protocol_loc_begin()
1388 if (!hasDefinition()) in protocol_loc_end()
1407 if (!hasDefinition()) in all_referenced_protocol_begin()
1420 if (!hasDefinition()) in all_referenced_protocol_end()
1511 bool hasDefinition() const { in hasDefinition() function
1526 return hasDefinition()? Data.getPointer()->Definition : nullptr; in getDefinition()
1533 return hasDefinition()? Data.getPointer()->Definition : nullptr; in getDefinition()
[all …]
H A DDeclCXX.h541 bool hasDefinition() const { return DefinitionData || dataPtr(); } in hasDefinition() function
561 return !hasDefinition() || isDynamicClass() || hasAnyDependentBases(); in mayBeDynamicClass()
567 return !hasDefinition() || !isDynamicClass() || hasAnyDependentBases(); in mayBeNonDynamicClass()
H A DDecl.h1202 DefinitionKind hasDefinition(ASTContext &) const;
1203 DefinitionKind hasDefinition() const { in hasDefinition() function
1204 return hasDefinition(getASTContext()); in hasDefinition()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A 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()
1545 assert(hasDefinition() && in setExternallyCompleted()
1629 if (!hasDefinition()) in all_declared_ivar_begin()
[all …]
H A DMicrosoftCXXABI.cpp189 if (!hasDefinition() || isParsingBaseSpecifiers()) in calculateInheritanceModel()
207 (hasDefinition() && isPolymorphic()); in nullFieldOffsetIsZero()
H A DCXXInheritance.cpp262 if (!BaseRecord->hasDefinition() || in lookupInBases()
H A DDeclCXX.cpp489 assert(hasDefinition() && "ODRHash only for records with definitions"); in getODRHash()
1090 if (FieldType->hasDefinition() && !FieldType->allowConstDefaultInit()) in addedMember()
1464 if (!hasDefinition()) in isCLike()
1924 assert(hasDefinition() && "checking for interface-like without a definition"); in isInterfaceLike()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DCocoaConventions.cpp87 if (!ID->hasDefinition()) in isCocoaObjectRef()
/netbsd-src/external/apache2/llvm/dist/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()
1200 if (!PDecl->hasDefinition()) in CheckForwardProtocolDeclarationForCircularDependency()
1280 if (!PDecl->hasDefinition() || in NestedProtocolHasNoDefinition()
1905 if (IDecl && IDecl->hasDefinition()) { in ActOnStartCategoryImplementation()
2014 if (SDecl && !SDecl->hasDefinition()) in ActOnStartClassImplementation()
2055 if (!IDecl->hasDefinition()) in ActOnStartClassImplementation()
4326 if (!protocol->hasDefinition()) in searchFrom()
4358 if (!iface->hasDefinition()) in searchFrom()
H A DSemaCXXScopeSpec.cpp569 (!cast<CXXRecordDecl>(LookupCtx)->hasDefinition() || in BuildCXXNestedNameSpecifier()
H A DSema.cpp764 if (VD->hasDefinition() != VarDecl::DeclarationOnly) in getUndefinedButUsed()
876 if (R->hasDefinition()) in MethodsAndNestedClassesComplete()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp215 if (!RD->hasDefinition()) in VisitDependentNameTypeLoc()
H A DIndexBody.cpp168 if (!RD->hasDefinition()) in indexDependentReference()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGCUDANV.cpp1027 registerDeviceVar(D, GV, !D->hasDefinition(), in handleVarRegistration()
1043 registerDeviceSurf(D, GV, !D->hasDefinition(), SurfType.getSExtValue()); in handleVarRegistration()
1051 registerDeviceTex(D, GV, !D->hasDefinition(), TexType.getSExtValue(), in handleVarRegistration()
H A DItaniumCXXABI.cpp805 if (RD->hasDefinition()) { in EmitLoadOfMemberFunctionPointer()
2882 if (VD->hasDefinition() && in EmitThreadLocalInitFuncs()
2899 if (!VD->hasDefinition()) { in EmitThreadLocalInitFuncs()
2930 } else if (VD->hasDefinition()) { in EmitThreadLocalInitFuncs()
3351 if (!RD->hasDefinition()) in ShouldUseExternalRTTIDescriptor()
3518 if (!RD->hasDefinition() || !RD->getNumBases()) { in BuildVTablePointer()
3780 if (!RD->hasDefinition() || !RD->getNumBases()) { in BuildTypeInfo()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp340 if (!TargetType->isVoidType() && MRClass->hasDefinition()) { in attemptDownCast()
/netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DTransforms.cpp58 if (!AllowOnUnknownClass && !Class->hasDefinition()) in canApplyWeak()
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXIndexDataConsumer.cpp663 bool isRedeclaration = D->hasDefinition() || D->getPreviousDecl(); in handleObjCInterface()
718 bool isRedeclaration = D->hasDefinition() || D->getPreviousDecl(); in handleObjCProtocol()
/netbsd-src/external/apache2/llvm/dist/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp296 REGISTER_MATCHER(hasDefinition); in RegistryMaps()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchers.h3230 return Node.hasDefinition() && in AST_MATCHER_P()
7757 AST_MATCHER(CXXRecordDecl, hasDefinition) { in AST_MATCHER() argument
7758 return Node.hasDefinition(); in AST_MATCHER()

123