Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCXXDeleteChecker.cpp120 if (!BaseClass->hasDefinition() || !DerivedClass->hasDefinition()) in checkTypedDeleteExpr()
150 if (!BaseClass->hasDefinition() || !DerivedClass->hasDefinition()) in checkTypedDeleteExpr()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclObjC.h1333 assert(hasDefinition() && "Caller did not check for forward reference!"); in getReferencedProtocols()
1364 if (!hasDefinition()) in protocol_begin()
1375 if (!hasDefinition()) in protocol_end()
1393 if (!hasDefinition()) in protocol_loc_begin()
1404 if (!hasDefinition()) in protocol_loc_end()
1423 if (!hasDefinition()) in all_referenced_protocol_begin()
1436 if (!hasDefinition()) in all_referenced_protocol_end()
1527 bool hasDefinition() const { in hasDefinition() function
1542 return hasDefinition()? Data.getPointer()->Definition : nullptr; in getDefinition()
1549 return hasDefinition()? Data.getPointer()->Definition : nullptr; in getDefinition()
[all …]
H A DDeclCXX.h571 bool hasDefinition() const { return DefinitionData || dataPtr(); } in hasDefinition() function
592 return !hasDefinition() || isDynamicClass() || hasAnyDependentBases(); in mayBeDynamicClass()
598 return !hasDefinition() || !isDynamicClass() || hasAnyDependentBases(); in mayBeNonDynamicClass()
H A DDecl.h1261 DefinitionKind hasDefinition(ASTContext &) const;
1262 DefinitionKind hasDefinition() const { in hasDefinition() function
1263 return hasDefinition(getASTContext()); in hasDefinition()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp354 if (!hasDefinition()) in getSuperClass()
385 if (!hasDefinition()) in FindPropertyVisibleInPrimaryClass()
576 if (!HasCompleteDef && getCanonicalDecl()->hasDefinition() && in isDesignatedInitializer()
611 assert(!hasDefinition() && "ObjC class already has a definition"); in allocateDefinitionData()
640 if (!hasDefinition()) in lookupInstanceVariable()
671 if (!hasDefinition()) in lookupInheritedClass()
706 if (!hasDefinition()) in lookupMethod()
760 if (!hasDefinition()) in lookupPrivateMethod()
792 assert(hasDefinition() && "ODRHash only for records with definitions"); in getODRHash()
808 if (!hasDefinition()) in hasODRHash()
[all …]
H A DCXXInheritance.cpp262 if (!BaseRecord->hasDefinition() || in lookupInBases()
H A DDeclCXX.cpp496 assert(hasDefinition() && "ODRHash only for records with definitions"); in getODRHash()
1130 if (FieldType->hasDefinition() && !FieldType->allowConstDefaultInit()) in addedMember()
1597 if (!hasDefinition()) in isCLike()
2044 assert(hasDefinition() && "checking for interface-like without a definition"); in isInterfaceLike()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DNoUncountedMembersChecker.cpp79 if (MemberCXXRD->hasDefinition()) { in visitRecordDecl()
H A DPtrTypesSemantics.cpp25 assert(R->hasDefinition()); in hasPublicMethodInBaseClass()
50 if (!R->hasDefinition()) in hasPublicMethodInBase()
H A DRefCntblBaseVirtualDtorChecker.cpp154 if (!RD->hasDefinition()) in checkASTDecl()
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DVisitor.cpp307 if (!D->hasDefinition() || !D->isDynamicClass()) in hasVTable()
349 assert((D->hasDefinition() && D->isDynamicClass()) && "Record has no vtable"); in getVTableLinkage()
405 if (!D->hasDefinition()) in hasRTTI()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DSystemZ.cpp207 if (CXXRD->hasDefinition()) in GetSingleElementType()
515 if (CXXRD->hasDefinition()) in isVectorTypeBased()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaFixItUtils.cpp213 if (!RD || !RD->hasDefinition()) in getFixItZeroInitializerForType()
H A DSemaCXXScopeSpec.cpp114 if (PartialSpec->hasDefinition() && in computeDeclContext()
494 (!cast<CXXRecordDecl>(LookupCtx)->hasDefinition() || in BuildCXXNestedNameSpecifier()
H A DSemaDeclObjC.cpp69 if (!resultClass->hasDefinition()) { in checkInitMethod()
1083 else if (!IDecl->hasDefinition()) in ActOnStartClassInterface()
1205 if (!PDecl->hasDefinition()) in CheckForwardProtocolDeclarationForCircularDependency()
1294 if (!PDecl->hasDefinition() || in NestedProtocolHasNoDefinition()
1920 if (IDecl && IDecl->hasDefinition()) { in ActOnStartCategoryImplementation()
2031 if (SDecl && !SDecl->hasDefinition()) in ActOnStartClassImplementation()
2072 if (!IDecl->hasDefinition()) in ActOnStartClassImplementation()
4348 if (!protocol->hasDefinition()) in searchFrom()
4380 if (!iface->hasDefinition()) in searchFrom()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp225 if (!RD->hasDefinition()) in VisitDependentNameTypeLoc()
H A DIndexBody.cpp183 if (!RD->hasDefinition()) in indexDependentReference()
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DCodeCompletion.cpp342 << " has def?: " << Record->hasDefinition() in completeVisibleDeclsMap()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCUDANV.cpp1061 registerDeviceVar(D, GV, !D->hasDefinition(), in handleVarRegistration()
1077 registerDeviceSurf(D, GV, !D->hasDefinition(), SurfType.getSExtValue()); in handleVarRegistration()
1085 registerDeviceTex(D, GV, !D->hasDefinition(), TexType.getSExtValue(), in handleVarRegistration()
H A DItaniumCXXABI.cpp806 if (RD->hasDefinition()) { in EmitLoadOfMemberFunctionPointer()
3144 if (VD->hasDefinition() && in EmitThreadLocalInitFuncs()
3161 if (!VD->hasDefinition()) { in EmitThreadLocalInitFuncs()
3192 } else if (VD->hasDefinition()) { in EmitThreadLocalInitFuncs()
3227 if (CGM.getTriple().isOSAIX() && VD->hasDefinition() && in EmitThreadLocalInitFuncs()
3724 if (!RD->hasDefinition()) in ShouldUseExternalRTTIDescriptor()
3894 if (!RD->hasDefinition() || !RD->getNumBases()) { in BuildVTablePointer()
4165 if (!RD->hasDefinition() || !RD->getNumBases()) { in BuildTypeInfo()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp339 if (!TargetType->isVoidType() && MRClass->hasDefinition()) { in evalBaseToDerived()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTImporter.cpp1219 if (!to_objc_interface->hasDefinition()) in ImportDefinitionTo()
1397 (to_interface_decl->hasDefinition() ? " HasDefinition" : "")); in Imported()
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransforms.cpp59 if (!AllowOnUnknownClass && !Class->hasDefinition()) in canApplyWeak()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp73 if (!RD->hasDefinition()) in getOptionalBaseClass()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp312 REGISTER_MATCHER(hasDefinition); in RegistryMaps()

123