Home
last modified time | relevance | path

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

123

/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCastToStructChecker.cpp62 if (!OrigPointeeTy->isRecordType()) { in VisitCastExpr()
H A DStackAddrEscapeChecker.cpp279 if (isa<CXXConstructExpr>(RetE) && RetE->getType()->isRecordType()) in checkPreStmt()
H A DValistChecker.cpp174 Ty->isPointerType() && Ty->getPointeeType()->isRecordType(); in getVAListAsRegion()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprMember.cpp497 PT->getPointeeType()->isRecordType())) { in ActOnDependentMemberExpr()
813 assert(baseVariable->getType()->isRecordType()); in BuildAnonymousStructUnionMemberReference()
1215 static bool isRecordType(QualType T) { in isRecordType() function
1216 return T->isRecordType(); in isRecordType()
1220 return PT->getPointeeType()->isRecordType(); in isPointerToRecordType()
1271 else if (BaseType->isRecordType()) { in LookupMemberExpr()
1641 if (!IsArrow && Ptr->getPointeeType()->isRecordType() && in LookupMemberExpr()
1659 IsArrow ? &isPointerToRecordType : &isRecordType)) { in LookupMemberExpr()
H A DSemaInit.cpp1054 else if (T->isRecordType()) in CheckImplicitInitList()
1292 } else if (DeclType->isRecordType()) { in CheckListElementTypes()
3109 } else if (CurrentObjectType->isRecordType()) { in createInitListExpr()
4377 if (DestType->isRecordType() && in TryListInitialization()
4395 if (DestType->isRecordType()) { in TryListInitialization()
4525 if (Init->getType()->isRecordType() || in TryListInitialization()
4996 if (T2->isRecordType()) { in TryReferenceInitializationCore()
5236 assert((DestType->isRecordType() || SourceType->isRecordType()) && in TryUserDefinedConversion()
5919 if (DestType->isRecordType()) { in InitializeFrom()
7832 if (!DestType->isRecordType()) in CheckMoveOnConstruction()
[all …]
H A DSemaCast.cpp68 if (!S.Context.getLangOpts().ObjC && !DestType->isRecordType() && in CastOperation()
436 if (!destType->isRecordType() && !srcType->isRecordType()) in tryDiagnoseOverloadedCast()
1210 if (ValueKind == VK_PRValue && !DestType->isRecordType() && in CheckStaticCast()
1831 if (DestType->isRecordType()) { in TryStaticImplicitCast()
1910 if (!SrcType->isRecordType()) { in TryConstCast()
2685 if (ValueKind == VK_PRValue && !DestType->isRecordType() && in CheckCXXCStyleCast()
H A DSemaOverload.cpp1702 (FromType->isRecordType() || ToType->isRecordType())) in IsStandardConversion()
2467 ToPointeeType->isRecordType() && in IsPointerConversion()
3012 if (FromPointeeType->isRecordType() && ToPointeeType->isRecordType() && in CheckPointerConversion()
4928 (T1->isRecordType() || T2->isRecordType())) in TryReferenceInit()
5028 if (ToType->isRecordType()) { in TryListConversion()
5219 if (!ToType->isRecordType()) { in TryListConversion()
5320 assert(FromType->isRecordType()); in TryObjectArgumentInitialization()
5651 if (T->isRecordType()) in CheckConvertedConstantExpression()
5685 if (T->isRecordType()) { in CheckConvertedConstantExpression()
6229 if (T1->isRecordType() || (!T2.isNull() && T2->isRecordType())) in IsAcceptableNonMemberOperatorCandidate()
[all …]
H A DSemaExceptionSpec.cpp165 if (!(PointeeT->isRecordType() && in CheckSpecifiedExceptionType()
733 if (!ExceptionType->isRecordType() || !HandlerType->isRecordType()) in handlerCanCatch()
H A DSemaExprCXX.cpp2633 if (AllocElemType->isRecordType() && NewScope != AFS_Global) in FindAllocationFunctions()
2695 if (AllocElemType->isRecordType() && DeleteScope != AFS_Global) { in FindAllocationFunctions()
4052 if (CCK == CCK_ForBuiltinOverloadedOp && !From->getType()->isRecordType()) in PerformImplicitConversion()
6250 (LTy->isRecordType() || RTy->isRecordType())) { in CXXCheckConditionalOperands()
6355 if (!Same && (LTy->isRecordType() || RTy->isRecordType())) { in CXXCheckConditionalOperands()
6380 if (LTy->isRecordType()) { in CXXCheckConditionalOperands()
7284 while (BaseType->isRecordType()) { in ActOnStartCXXMemberReference()
7359 if (!BaseType->isRecordType()) { in ActOnStartCXXMemberReference()
7589 if (ObjectType->isRecordType()) in ActOnPseudoDestructorExpr()
H A DSemaPseudoObject.cpp768 if (!S.getLangOpts().CPlusPlus || !op->getType()->isRecordType()) { in buildSet()
774 if (!S.getLangOpts().CPlusPlus || !paramType->isRecordType()) { in buildSet()
H A DSemaCXXScopeSpec.cpp348 if (TD->getUnderlyingType()->isRecordType()) in isAcceptableNestedNameSpecifier()
H A DSemaExprObjC.cpp400 if (S.getLangOpts().CPlusPlus && Element->getType()->isRecordType()) { in CheckObjCCollectionLiteralElement()
2527 if (Ret->isRecordType() || Ret->isVectorType() || Ret->isExtVectorType()) { in checkFoundationAPI()
2530 << (!Ret->isRecordType() in checkFoundationAPI()
3492 if (type->isRecordType()) return ACTC_coreFoundation; in classifyTypeForARCConversion()
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DUninitializedValues.cpp49 return ty->isScalarType() || ty->isVectorType() || ty->isRecordType(); in isTrackedVar()
314 if (VD->getType()->isRecordType()) in getSelfInitExpr()
421 if (!CE->getArg(0)->getType()->isRecordType()) in VisitCallExpr()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DExprClassification.cpp84 if (T->isRecordType()) in ClassifyTemporary()
466 NTTParm->getType()->isRecordType(); in ClassifyDecl()
H A DTemplateBase.cpp435 if (getParamTypeForDecl()->isRecordType()) { in print()
H A DDeclCXX.cpp2223 if (Base->isPRValue() && Base->getType()->isRecordType()) in getDevirtualizedMethod()
2258 if (VD->getType()->isRecordType()) in getDevirtualizedMethod()
2270 return VD->getType()->isRecordType() ? DevirtualizedMethod : nullptr; in getDevirtualizedMethod()
2278 if (MPT->getPointeeType()->isRecordType()) in getDevirtualizedMethod()
H A DAPValue.cpp761 if (ElemTy->isRecordType()) { in printPretty()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp278 assert(R->getValueType()->isRecordType() && in isNonUnionUninit()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSVals.h315 return T->isArrayType() || T->isRecordType() || in isCompoundType()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp626 if (Type->isRecordType()) in EmitDesignatedInitUpdater()
711 (Field->getType()->isArrayType() || Field->getType()->isRecordType())) { in Build()
1256 if (ILE->getType()->isRecordType()) in VisitInitListExpr()
1619 if (Ty->isRecordType()) in tryEmitPrivateForVarInit()
H A DCGExprAgg.cpp1623 assert(E->getType()->isRecordType() && "Only support structs/unions here!"); in VisitInitListExpr()
2014 if (!FD->hasAttr<NoUniqueAddressAttr>() || !FD->getType()->isRecordType()) in getOverlapForFieldInit()
H A DCGExprCXX.cpp2274 assert(SrcRecordTy->isRecordType() && "source type must be a record type!"); in EmitDynamicCast()
2301 assert(DestRecordTy->isRecordType() && in EmitDynamicCast()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSymbolManager.cpp342 if (T->isRecordType() && !T->isUnionType()) in canSymbolicate()
H A DSValBuilder.cpp59 if (type->isArrayType() || type->isRecordType() || type->isVectorType() || in makeZeroVal()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DType.h2032 bool isRecordType() const;
6661 isRecordType() ||
6765 inline bool Type::isRecordType() const {
7084 return isDependentType() || isRecordType() || isEnumeralType();

123