Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCXXDeleteChecker.cpp116 if (!BaseClass->hasDefinition() || !DerivedClass->hasDefinition()) in checkTypedDeleteExpr()
146 if (!BaseClass->hasDefinition() || !DerivedClass->hasDefinition()) in checkTypedDeleteExpr()
H A DDynamicTypeChecker.cpp137 static bool hasDefinition(const ObjCObjectPointerType *ObjPtr) { in hasDefinition() function
171 if (!hasDefinition(DynObjCType) || !hasDefinition(StaticObjCType)) in checkPostStmt()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclObjC.h1331 assert(hasDefinition() && "Caller did not check for forward reference!"); in getReferencedProtocols()
1362 if (!hasDefinition()) in protocol_begin()
1373 if (!hasDefinition()) in protocol_end()
1391 if (!hasDefinition()) in protocol_loc_begin()
1402 if (!hasDefinition()) in protocol_loc_end()
1421 if (!hasDefinition()) in all_referenced_protocol_begin()
1434 if (!hasDefinition()) in all_referenced_protocol_end()
1525 bool hasDefinition() const { in hasDefinition() function
1540 return hasDefinition()? Data.getPointer()->Definition : nullptr; in getDefinition()
1547 return hasDefinition()? Data.getPointer()->Definition : nullptr; in getDefinition()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp351 if (!hasDefinition()) in getSuperClass()
382 if (!hasDefinition()) in FindPropertyVisibleInPrimaryClass()
573 if (!HasCompleteDef && getCanonicalDecl()->hasDefinition() && in isDesignatedInitializer()
608 assert(!hasDefinition() && "ObjC class already has a definition"); in allocateDefinitionData()
637 if (!hasDefinition()) in lookupInstanceVariable()
668 if (!hasDefinition()) in lookupInheritedClass()
703 if (!hasDefinition()) in lookupMethod()
757 if (!hasDefinition()) in lookupPrivateMethod()
789 assert(hasDefinition() && "ODRHash only for records with definitions"); in getODRHash()
805 if (!hasDefinition()) in hasODRHash()
[all …]
H A DCXXInheritance.cpp267 if (!BaseRecord->hasDefinition()) in lookupInBases()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCocoaConventions.cpp86 if (!ID->hasDefinition()) in isCocoaObjectRef()
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DVisitor.cpp306 if (!D->hasDefinition() || !D->isDynamicClass()) in hasVTable()
348 assert((D->hasDefinition() && D->isDynamicClass()) && "Record has no vtable"); in getVTableLinkage()
404 if (!D->hasDefinition()) in hasRTTI()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTypeTraits.cpp119 assert(D->hasDefinition() && !D->isInvalidDecl()); in hasSuitableConstructorForRelocation()
132 assert(D->hasDefinition() && !D->isInvalidDecl()); in hasSuitableMoveAssignmentOperatorForRelocation()
245 assert(D->hasDefinition()); in CheckCXX2CRelocatableAndReplaceable()
2141 if (D->hasDefinition()) in DiagnoseNonTriviallyRelocatableReason()
2227 if (D->hasDefinition()) in DiagnoseNonReplaceableReason()
2316 if (!D || D->isInvalidDecl() || !D->hasDefinition()) in DiagnoseNonConstructibleReason()
2357 if (D->hasDefinition()) in DiagnoseNonTriviallyCopyableReason()
2450 if (D->hasDefinition()) { in DiagnoseIsEmptyReason()
2595 if (D->hasDefinition()) in DiagnoseNonStandardLayoutReason()
H A DSemaFixItUtils.cpp213 if (!RD || !RD->hasDefinition()) in getFixItZeroInitializerForType()
H A DSemaCXXScopeSpec.cpp110 if (PartialSpec->hasDefinition() && in computeDeclContext()
489 (!cast<CXXRecordDecl>(LookupCtx)->hasDefinition() || in BuildCXXNestedNameSpecifier()
H A DSema.cpp980 if (VD->hasDefinition() != VarDecl::DeclarationOnly) in getUndefinedButUsed()
1104 if (R->hasDefinition()) in MethodsAndNestedClassesComplete()
1886 if (ClassDecl->hasDefinition()) in VisitCalledDestructors()
1896 if (BaseDecl->hasDefinition()) in VisitCalledDestructors()
1911 if (ClassDecl->hasDefinition()) in VisitDeclStmt()
H A DSemaDeclObjC.cpp68 if (!resultClass->hasDefinition()) { in checkInitMethod()
1083 else if (!IDecl->hasDefinition()) in ActOnStartClassInterface()
1205 if (!PDecl->hasDefinition()) in CheckForwardProtocolDeclarationForCircularDependency()
1294 if (!PDecl->hasDefinition() || in NestedProtocolHasNoDefinition()
1923 if (IDecl && IDecl->hasDefinition()) { in ActOnStartCategoryImplementation()
2034 if (SDecl && !SDecl->hasDefinition()) in ActOnStartClassImplementation()
2075 if (!IDecl->hasDefinition()) in ActOnStartClassImplementation()
4350 if (!protocol->hasDefinition()) in searchFrom()
4382 if (!iface->hasDefinition()) in searchFrom()
H A DHeuristicResolver.cpp495 if (!RD->hasDefinition()) in resolveDependentMember()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DSystemZ.cpp219 if (CXXRD->hasDefinition()) in GetSingleElementType()
531 if (CXXRD->hasDefinition()) in isVectorTypeBased()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DPtrTypesSemantics.cpp26 assert(R->hasDefinition()); in hasPublicMethodInBaseClass()
61 if (!R->hasDefinition()) in hasPublicMethodInBase()
H A DForwardDeclChecker.cpp127 if (R->hasDefinition()) in isUnknownType()
H A DRefCntblBaseVirtualDtorChecker.cpp186 if (!RD->hasDefinition()) in checkASTDecl()
/freebsd/contrib/llvm-project/lldb/tools/lldb-rpc/lldb-rpc-gen/
H A Dlldb-rpc-gen.cpp128 !Decl->hasDefinition() || Decl->getDefinition() != Decl || in ShouldSkipRecord()
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DCodeCompletion.cpp344 << " has def?: " << Record->hasDefinition() in completeVisibleDeclsMap()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCUDANV.cpp1126 registerDeviceVar(D, GV, !D->hasDefinition(), in handleVarRegistration()
1142 registerDeviceSurf(D, GV, !D->hasDefinition(), SurfType.getSExtValue()); in handleVarRegistration()
1150 registerDeviceTex(D, GV, !D->hasDefinition(), TexType.getSExtValue(), in handleVarRegistration()
H A DItaniumCXXABI.cpp814 if (RD->hasDefinition()) { in EmitLoadOfMemberFunctionPointer()
3176 if (VD->hasDefinition() && in EmitThreadLocalInitFuncs()
3193 if (!VD->hasDefinition()) { in EmitThreadLocalInitFuncs()
3224 } else if (VD->hasDefinition()) { in EmitThreadLocalInitFuncs()
3259 if (CGM.getTriple().isOSAIX() && VD->hasDefinition() && in EmitThreadLocalInitFuncs()
3759 if (!RD->hasDefinition()) in ShouldUseExternalRTTIDescriptor()
3931 if (!RD->hasDefinition() || !RD->getNumBases()) { in BuildVTablePointer()
4216 if (!RD->hasDefinition() || !RD->getNumBases()) { in BuildTypeInfo()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp341 if (!TargetType->isVoidType() && MRClass->hasDefinition()) { in evalBaseToDerived()
H A DCallEvent.cpp729 if (!ParentRecord || !ParentRecord->hasDefinition()) in getExtraInvalidatedValues()
787 if (!RD || !RD->hasDefinition()) in getRuntimeDefinition()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenModule.cpp122 if (!rd->hasDefinition()) in getClassPointerAlignment()
615 !d->hasDefinition() && d->hasInit() && !d->hasAttr<DLLImportAttr>()) in getOrCreateCIRGlobal()
817 return emitGlobalVarDefinition(vd, !vd->hasDefinition()); in emitGlobalDefinition()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTImporter.cpp1244 if (!to_objc_interface->hasDefinition()) in ImportDefinitionTo()
1420 (to_interface_decl->hasDefinition() ? " HasDefinition" : "")); in Imported()

123