Home
last modified time | relevance | path

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

123

/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExprMember.cpp500 PT->getPointeeType()->isRecordType())) { in ActOnDependentMemberExpr()
812 assert(baseVariable->getType()->isRecordType()); in BuildAnonymousStructUnionMemberReference()
1200 static bool isRecordType(QualType T) { in isRecordType() function
1201 return T->isRecordType(); in isRecordType()
1205 return PT->getPointeeType()->isRecordType(); in isPointerToRecordType()
1256 else if (BaseType->isRecordType()) { in LookupMemberExpr()
1626 if (!IsArrow && Ptr->getPointeeType()->isRecordType() && in LookupMemberExpr()
1644 IsArrow ? &isPointerToRecordType : &isRecordType)) { in LookupMemberExpr()
H A DSemaInit.cpp910 else if (T->isRecordType()) in CheckImplicitInitList()
954 if ((T->isArrayType() || T->isRecordType()) && in CheckImplicitInitList()
1162 } else if (DeclType->isRecordType()) { in CheckListElementTypes()
3998 } else if (!UnqualifiedTargetType->isRecordType()) { in ResolveOverloadedFunctionForReferenceBinding()
4118 if (DestType->isRecordType() && in TryListInitialization()
4136 if (DestType->isRecordType()) { in TryListInitialization()
4704 if (T2->isRecordType()) { in TryReferenceInitializationCore()
4924 assert((DestType->isRecordType() || SourceType->isRecordType()) && in TryUserDefinedConversion()
5601 if (DestType->isRecordType()) { in InitializeFrom()
7139 if (!DestType->isRecordType()) in CheckMoveOnConstruction()
[all …]
H A DSemaCast.cpp356 if (!destType->isRecordType() && !srcType->isRecordType()) in tryDiagnoseOverloadedCast()
1014 if (ValueKind == VK_RValue && !DestType->isRecordType() && in CheckStaticCast()
1619 if (DestType->isRecordType()) { in TryStaticImplicitCast()
1698 if (!SrcType->isRecordType()) { in TryConstCast()
2348 if (ValueKind == VK_RValue && !DestType->isRecordType() && in CheckCXXCStyleCast()
H A DSemaExceptionSpec.cpp157 if (!(PointeeT->isRecordType() && in CheckSpecifiedExceptionType()
707 if (!ExceptionType->isRecordType() || !HandlerType->isRecordType()) in handlerCanCatch()
H A DSemaOverload.cpp1636 (FromType->isRecordType() || ToType->isRecordType())) in IsStandardConversion()
2389 ToPointeeType->isRecordType() && in IsPointerConversion()
2930 if (FromPointeeType->isRecordType() && ToPointeeType->isRecordType() && in CheckPointerConversion()
4721 (T1->isRecordType() || T2->isRecordType())) in TryReferenceInit()
4822 if (ToType->isRecordType()) { in TryListConversion()
5018 if (!ToType->isRecordType()) { in TryListConversion()
5121 assert(FromType->isRecordType()); in TryObjectArgumentInitialization()
5957 if (T1->isRecordType() || (!T2.isNull() && T2->isRecordType())) in IsAcceptableNonMemberOperatorCandidate()
12604 if (Args[0]->getType()->isRecordType() && in CreateOverloadedBinOp()
13138 assert(Object.get()->getType()->isRecordType() && in BuildCallToObjectOfClassType()
[all …]
H A DSemaExprCXX.cpp2416 if (AllocElemType->isRecordType() && NewScope != AFS_Global) in FindAllocationFunctions()
2474 if (AllocElemType->isRecordType() && DeleteScope != AFS_Global) { in FindAllocationFunctions()
3800 if (CCK == CCK_ForBuiltinOverloadedOp && !From->getType()->isRecordType()) in PerformImplicitConversion()
5792 (LTy->isRecordType() || RTy->isRecordType())) { in CXXCheckConditionalOperands()
5893 if (!Same && (LTy->isRecordType() || RTy->isRecordType())) { in CXXCheckConditionalOperands()
5918 if (LTy->isRecordType()) { in CXXCheckConditionalOperands()
6717 while (BaseType->isRecordType()) { in ActOnStartCXXMemberReference()
6793 } else if (!BaseType->isRecordType()) { in ActOnStartCXXMemberReference()
7010 if (ObjectType->isRecordType()) in ActOnPseudoDestructorExpr()
H A DSemaPseudoObject.cpp778 if (!S.getLangOpts().CPlusPlus || !op->getType()->isRecordType()) { in buildSet()
784 if (!S.getLangOpts().CPlusPlus || !paramType->isRecordType()) { in buildSet()
H A DSemaCXXScopeSpec.cpp335 if (TD->getUnderlyingType()->isRecordType()) in isAcceptableNestedNameSpecifier()
H A DSemaDecl.cpp294 if (ObjectType->isRecordType()) in getTypeName()
8091 if (PT->isRecordType()) in getOpenCLKernelParameterType()
8212 assert((FieldTy->isArrayType() || FieldTy->isRecordType()) && in checkIsValidOpenCLKernelParameter()
10473 bool isRecordType; member in __anond988c25c1011::SelfReferenceChecker
10486 isRecordType = false; in SelfReferenceChecker()
10491 isRecordType = VD->getType()->isRecordType(); in SelfReferenceChecker()
10686 if (E->getOpcode() == UO_AddrOf && isRecordType && in VisitUnaryOperator()
10756 DRE->getDecl()->getType()->isRecordType()) { in HandleDeclRefExpr()
11159 if (!VDecl->hasLocalStorage() || VDecl->getType()->isRecordType() || in AddInitializerToDecl()
13178 if (FD->getReturnType()->isRecordType() && in ActOnFinishFunctionBody()
[all …]
H A DSemaExprObjC.cpp398 if (S.getLangOpts().CPlusPlus && Element->getType()->isRecordType()) { in CheckObjCCollectionLiteralElement()
2345 if (Ret->isRecordType() || Ret->isVectorType() || Ret->isExtVectorType()) { in checkFoundationAPI()
2349 << (!Ret->isRecordType() in checkFoundationAPI()
3266 if (type->isRecordType()) return ACTC_coreFoundation; in classifyTypeForARCConversion()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DCastToStructChecker.cpp63 if (!OrigPointeeTy->isRecordType()) { in VisitCastExpr()
H A DStackAddrEscapeChecker.cpp275 if (isa<CXXConstructExpr>(RetE) && RetE->getType()->isRecordType()) in checkPreStmt()
H A DValistChecker.cpp173 Ty->isPointerType() && Ty->getPointeeType()->isRecordType(); in getVAListAsRegion()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DUninitializedValues.cpp49 return ty->isScalarType() || ty->isVectorType() || ty->isRecordType(); in isTrackedVar()
374 if (VD->getType()->isRecordType()) in getSelfInitExpr()
467 if (!CE->getArg(0)->getType()->isRecordType()) in VisitCallExpr()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp262 assert(R->getValueType()->isRecordType() && in isNonUnionUninit()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DDeclCXX.cpp1973 if (Base->isRValue() && Base->getType()->isRecordType()) in getDevirtualizedMethod()
2002 if (VD->getType()->isRecordType()) in getDevirtualizedMethod()
2014 return VD->getType()->isRecordType() ? DevirtualizedMethod : nullptr; in getDevirtualizedMethod()
2022 if (MPT->getPointeeType()->isRecordType()) in getDevirtualizedMethod()
H A DExprClassification.cpp79 if (T->isRecordType()) in ClassifyTemporary()
H A DExpr.cpp86 E->getType()->isRecordType()) { in skipRValueSubobjectAdjustments()
100 assert(ME->getBase()->getType()->isRecordType()); in skipRValueSubobjectAdjustments()
2075 if (!getInit(0)->isRValue() && getType()->isRecordType()) in isTransparent()
2964 if (ILE->getType()->isRecordType()) { in isConstantInitializer()
H A DExprConstant.cpp2832 if (ObjType->isRecordType() && handler.AccessKind == AK_Read && in findSubobject()
5195 assert(E->getBase()->getType()->isRecordType()); in VisitMemberExpr()
6879 assert(E->isRValue() && E->getType()->isRecordType() && in EvaluateRecord()
6933 assert(E->isRValue() && E->getType()->isRecordType()); in EvaluateTemporary()
7328 if (!Type->isRecordType()) in VisitCXXConstructExpr()
10786 } else if (T->isRecordType()) { in Evaluate()
10800 if (Unqual->isArrayType() || Unqual->isRecordType()) { in Evaluate()
10836 else if (T->isRecordType()) in EvaluateInPlace()
10840 if (Unqual->isArrayType() || Unqual->isRecordType()) in EvaluateInPlace()
10893 Exp->getType()->isRecordType()) && in FastEvaluateAsRValue()
[all …]
H A DType.cpp76 else if (ty->isRecordType()) in getBaseTypeIdentifier()
2816 (!getTypePtr()->isDependentType() && !getTypePtr()->isRecordType())) in getNonLValueExprType()
3961 return Pointee->isVoidType() || Pointee->isRecordType(); in isCARCBridgableType()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSVals.h306 return T->isArrayType() || T->isRecordType() || in isCompoundType()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DSymbolManager.cpp358 if (T->isRecordType() && !T->isUnionType()) in canSymbolicate()
H A DSValBuilder.cpp60 if (type->isArrayType() || type->isRecordType() || type->isVectorType() || in makeZeroVal()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExprConstant.cpp965 if (ILE->getType()->isRecordType()) in VisitInitListExpr()
1033 if (destType->isRecordType()) in EmitDesignatedInitUpdater()
1451 if (Ty->isRecordType()) in tryEmitPrivateForVarInit()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DType.h1964 bool isRecordType() const;
6282 isRecordType() ||
6369 inline bool Type::isRecordType() const {
6671 return isDependentType() || isRecordType() || isEnumeralType();

123