Home
last modified time | relevance | path

Searched refs:isRecordType (Results 1 – 25 of 49) sorted by relevance

12

/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
HDCastToStructChecker.cpp58 if (!OrigPointeeTy->isRecordType()) { in checkPreStmt()
HDStackAddrEscapeChecker.cpp156 if (isa<CXXConstructExpr>(RetE) && RetE->getType()->isRecordType()) in checkPreStmt()
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaExprMember.cpp446 PT->getPointeeType()->isRecordType())) { in ActOnDependentMemberExpr()
754 assert(baseVariable->getType()->isRecordType()); in BuildAnonymousStructUnionMemberReference()
1148 static bool isRecordType(QualType T) { in isRecordType() function
1149 return T->isRecordType(); in isRecordType()
1153 return PT->getPointeeType()->isRecordType(); in isPointerToRecordType()
1203 else if (BaseType->isRecordType()) { in LookupMemberExpr()
1561 if (!IsArrow && Ptr->getPointeeType()->isRecordType() && in LookupMemberExpr()
1579 IsArrow ? &isPointerToRecordType : &isRecordType)) { in LookupMemberExpr()
HDSemaInit.cpp380 Entity.getType()->getBaseElementTypeUnsafe()->isRecordType(); in PerformEmptyInit()
768 else if (T->isRecordType()) in CheckImplicitInitList()
812 if (T->isArrayType() || T->isRecordType()) { in CheckImplicitInitList()
987 } else if (DeclType->isRecordType()) { in CheckListElementTypes()
1129 assert((ElemType->isRecordType() || ElemType->isVectorType()) && in CheckSubElementType()
3560 } else if (!UnqualifiedTargetType->isRecordType()) { in ResolveOverloadedFunctionForReferenceBinding()
3676 if (DestType->isRecordType() && in TryListInitialization()
3694 if (DestType->isRecordType()) { in TryListInitialization()
3731 if (DestType->isRecordType() && !DestType->isAggregateType()) { in TryListInitialization()
3760 InitList->getInit(0)->getType()->isRecordType()) { in TryListInitialization()
[all …]
HDSemaExceptionSpec.cpp113 if (!(PointeeT->isRecordType() && in CheckSpecifiedExceptionType()
664 bool SubIsClass = CanonicalSubT->isRecordType(); in CheckExceptionSpecSubset()
693 if (!SubIsClass || !CanonicalSuperT->isRecordType()) in CheckExceptionSpecSubset()
HDSemaOverload.cpp1414 if (FromType->isRecordType() || ToType->isRecordType()) { in IsStandardConversion()
2095 FromPointeeType->isRecordType() && ToPointeeType->isRecordType() && in IsPointerConversion()
2419 if ((!getLangOpts().CPlusPlus || !RHS->isRecordType()) && in IsBlockPointerConversion()
2611 if (FromPointeeType->isRecordType() && ToPointeeType->isRecordType() && in CheckPointerConversion()
2723 assert(FromClass->isRecordType() && "Pointer into non-class."); in CheckMemberPointerConversion()
2724 assert(ToClass->isRecordType() && "Pointer into non-class."); in CheckMemberPointerConversion()
4033 assert(T2->isRecordType() && "Can only find conversions of record types."); in FindConversionForRefInit()
4242 if (!SuppressUserConversions && T2->isRecordType() && in TryReferenceInit()
4264 (InitCategory.isPRValue() && (T2->isRecordType() || T2->isArrayType())) || in TryReferenceInit()
4284 !(InitCategory.isPRValue() || T2->isRecordType()); in TryReferenceInit()
[all …]
HDSemaCast.cpp325 if (!destType->isRecordType() && !srcType->isRecordType()) in tryDiagnoseOverloadedCast()
905 if (ValueKind == VK_RValue && !DestType->isRecordType() && in CheckStaticCast()
1489 if (DestType->isRecordType()) { in TryStaticImplicitCast()
1569 if (!SrcType->isRecordType()) { in TryConstCast()
2092 if (ValueKind == VK_RValue && !DestType->isRecordType() && in CheckCXXCStyleCast()
HDSemaExprCXX.cpp1752 if (AllocElemType->isRecordType() && !UseGlobal) { in FindAllocationFunctions()
1800 if (AllocElemType->isRecordType() && !UseGlobal) { in FindAllocationFunctions()
4827 (LTy->isRecordType() || RTy->isRecordType())) { in CXXCheckConditionalOperands()
4902 if (!Same && (LTy->isRecordType() || RTy->isRecordType())) { in CXXCheckConditionalOperands()
4927 if (LTy->isRecordType()) { in CXXCheckConditionalOperands()
5606 while (BaseType->isRecordType()) { in ActOnStartCXXMemberReference()
5677 } else if (!BaseType->isRecordType()) { in ActOnStartCXXMemberReference()
5856 if (ObjectType->isRecordType()) in ActOnPseudoDestructorExpr()
HDSemaPseudoObject.cpp730 if (!S.getLangOpts().CPlusPlus || !op->getType()->isRecordType()) { in buildSet()
736 if (!S.getLangOpts().CPlusPlus || !paramType->isRecordType()) { in buildSet()
HDSemaCXXScopeSpec.cpp307 if (TD->getUnderlyingType()->isRecordType()) in isAcceptableNestedNameSpecifier()
HDSemaDecl.cpp252 if (ObjectType->isRecordType()) in getTypeName()
7036 if (PT->isRecordType()) in getOpenCLKernelParameterType()
8509 bool isRecordType; member in __anon37e383c60711::SelfReferenceChecker
8521 isRecordType = false; in SelfReferenceChecker()
8526 isRecordType = VD->getType()->isRecordType(); in SelfReferenceChecker()
8722 if (E->getOpcode() == UO_AddrOf && isRecordType && in VisitUnaryOperator()
8797 DRE->getDecl()->getType()->isRecordType()) { in HandleDeclRefExpr()
8824 if (!DirectInit && !cast<VarDecl>(OrigDecl)->getType()->isRecordType()) in CheckSelfReference()
9131 if (!VDecl->hasLocalStorage() || VDecl->getType()->isRecordType() || in AddInitializerToDecl()
10812 if (getLangOpts().CPlusPlus && FD->getReturnType()->isRecordType() && in ActOnFinishFunctionBody()
[all …]
HDSemaObjCProperty.cpp1145 Ivar->getType()->isRecordType()) { in ActOnPropertyImplDecl()
1199 Ivar->getType()->isRecordType()) { in ActOnPropertyImplDecl()
HDSemaTemplateDeduction.cpp1490 assert(Base.getType()->isRecordType() && in DeduceTemplateArgumentsByTypeMatch()
2720 if (A->getPointeeType()->isRecordType()) { in CheckOriginalCallArgDeduction()
2732 if (A->isRecordType() && isSimpleTemplateIdType(OriginalParamType) && in CheckOriginalCallArgDeduction()
/NextBSD/contrib/llvm/tools/clang/lib/Analysis/
HDUninitializedValues.cpp41 return ty->isScalarType() || ty->isVectorType() || ty->isRecordType(); in isTrackedVar()
351 if (VD->getType()->isRecordType()) return nullptr; in getSelfInitExpr()
447 if (!CE->getArg(0)->getType()->isRecordType()) in VisitCallExpr()
/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
HDExprEngineC.cpp480 if (AMgr.getLangOpts().CPlusPlus && VD->getType()->isRecordType() && in VisitDeclStmt()
596 (T->isArrayType() || T->isRecordType() || T->isVectorType() || in VisitInitListExpr()
HDSymbolManager.cpp341 if (T->isRecordType() && !T->isUnionType()) in canSymbolicate()
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCGExprConstant.cpp833 if (ILE->getType()->isRecordType()) in VisitInitListExpr()
902 if (ExprType->isRecordType()) in EmitDesignatedInitUpdater()
1171 if (Ty->isRecordType()) in EmitConstantInit()
HDCGClass.cpp2335 return VD->getType()->isRecordType(); in CanDevirtualizeMemberFunctionCall()
2346 return VD->getType()->isRecordType(); in CanDevirtualizeMemberFunctionCall()
2358 return CE->getCallReturnType(getContext())->isRecordType(); in CanDevirtualizeMemberFunctionCall()
HDCGExprCXX.cpp1789 assert(SrcRecordTy->isRecordType() && "source type must be a record type!"); in EmitDynamicCast()
1815 assert(DestRecordTy->isRecordType() && in EmitDynamicCast()
HDCGExpr.cpp311 (Ty->isArrayType() || Ty->isRecordType()) && in createReferenceTemporary()
383 if (opaque->getType()->isRecordType()) { in EmitMaterializeTemporaryExpr()
1744 if (ExpTy->isRecordType()) { in setObjCGCLValueClass()
1780 if (ExpTy->isRecordType()) in setObjCGCLValueClass()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDExprClassification.cpp78 if (T->isRecordType()) in ClassifyTemporary()
HDExprConstant.cpp2213 if (ObjType->isRecordType() && handler.AccessKind == AK_Read && in findSubobject()
4353 assert(E->getBase()->getType()->isRecordType()); in VisitMemberExpr()
5438 assert(E->isRValue() && E->getType()->isRecordType() && in EvaluateRecord()
5490 assert(E->isRValue() && E->getType()->isRecordType()); in EvaluateTemporary()
5833 if (!Type->isRecordType()) in VisitCXXConstructExpr()
8391 } else if (T->isRecordType()) { in Evaluate()
8433 else if (E->getType()->isRecordType()) in EvaluateInPlace()
8485 Exp->getType()->isRecordType()) && in FastEvaluateAsRValue()
8547 if (isRValue() && (getType()->isArrayType() || getType()->isRecordType()) && in EvaluateAsInitializer()
HDType.cpp51 else if (ty->isRecordType()) in getBaseTypeIdentifier()
2534 (!getTypePtr()->isDependentType() && !getTypePtr()->isRecordType())) in getNonLValueExprType()
3581 return Pointee->isVoidType() || Pointee->isRecordType(); in isCARCBridgableType()
/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDType.h1634 bool isRecordType() const;
5219 isRecordType() ||
5289 inline bool Type::isRecordType() const {
5503 return isDependentType() || isRecordType() || isEnumeralType();
/NextBSD/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
HDRewriteModernObjC.cpp862 if (!isa<TypedefType>(IvarT) && IvarT->isRecordType()) { in getIvarAccessString()
3266 if (resultType->isRecordType()) in SynthMessageExpr()
3728 else if (Type->isRecordType()) { in RewriteObjCFieldDeclType()
3823 if (Type->isRecordType()) { in RewriteLocallyDefinedNamedAggregates()
5867 } else if (VD->getType()->isRecordType()) { in HandleDeclInMainFile()
7654 if (!isa<TypedefType>(IvarT) && IvarT->isRecordType()) { in RewriteObjCIvarRefExpr()

12