Home
last modified time | relevance | path

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

1234

/src/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DRecordOps.cpp25 if (Field.getType()->isRecordType()) { in copyField()
40 if (FieldType->isRecordType()) { in copySyntheticField()
106 if (Field->getType()->isRecordType()) { in recordsEqual()
119 if (SynthFieldLoc1->getType()->isRecordType()) { in recordsEqual()
H A DDataflowEnvironment.cpp324 Field != nullptr && Field->getType()->isRecordType()) { in TraverseConstructorInits()
343 if (VD->getType()->isRecordType() && VD->hasInit()) in VisitVarDecl()
351 if (MTE->getType()->isRecordType()) in VisitMaterializeTemporaryExpr()
360 if (RetValue != nullptr && RetValue->getType()->isRecordType() && in VisitReturnStmt()
372 if (E->isPRValue() && E->getType()->isRecordType() && in VisitExpr()
395 if (Field->getType()->isRecordType()) in PropagateResultObjectToRecordInitList()
405 if (!E->isPRValue() || !E->getType()->isRecordType()) { in PropagateResultObject()
512 if (InitialTargetFunc->getReturnType()->isRecordType()) in initialize()
617 if (Call->getType()->isRecordType() && Call->isPRValue()) in pushCall()
893 assert(RecordPRValue.getType()->isRecordType()); in getResultObjectLocation()
[all …]
H A DTransfer.cpp111 if (From.getType()->isRecordType()) in propagateValue()
447 if (Ret->getType()->isRecordType()) in VisitReturnStmt()
504 if (S->isPRValue() && S->getType()->isRecordType()) { in VisitCXXDefaultArgExpr()
517 if (S->getType()->isRecordType() && S->isPRValue()) in VisitCXXDefaultInitExpr()
530 if (!S->getType()->isRecordType()) { in VisitCXXConstructExpr()
652 if (S->getType()->isRecordType() && S->isPRValue()) { in VisitCallExpr()
666 if (SubExpr->getType()->isRecordType()) in VisitMaterializeTemporaryExpr()
709 } else if (!S->getType()->isRecordType()) { in VisitConditionalOperator()
735 if (!Type->isRecordType()) { in VisitInitListExpr()
757 if (Field->getType()->isRecordType()) in VisitInitListExpr()
[all …]
H A DASTOps.cpp63 !Type->isRecordType()) in getFieldsFromClassHierarchy()
253 if (InitList->getType()->isRecordType()) in VisitInitListExpr()
260 if (ParenInitList->getType()->isRecordType()) in VisitCXXParenListInitExpr()
H A DDataflowAnalysisContext.cpp64 if (!Type.isNull() && Type->isRecordType()) { in createStorageLocation()
95 assert(Type->isRecordType()); in createRecordStorageLocation()
H A DHTMLLogger.cpp128 if (!L.getType()->isRecordType()) in dump()
284 if (!E->getType()->isRecordType()) in recordState()
H A DTypeErasedDataflowAnalysis.cpp372 } else if (!Member->getType()->isRecordType()) { in builtinTransferInitializer()
/src/contrib/llvm-project/clang/lib/AST/Interp/
H A DEvaluationResult.cpp72 if (ElemType->isRecordType()) { in CheckArrayInitialized()
108 if (FieldType->isRecordType()) { in CheckFieldsInitialized()
H A DContext.cpp104 (VD->getType()->isRecordType() || VD->getType()->isArrayType()); in evaluateAsInitializer()
/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCastToStructChecker.cpp62 if (!OrigPointeeTy->isRecordType()) { in VisitCastExpr()
H A DStackAddrEscapeChecker.cpp276 if (isa<CXXConstructExpr>(RetE) && RetE->getType()->isRecordType()) in checkPreStmt()
H A DValistChecker.cpp173 Ty->isPointerType() && Ty->getPointeeType()->isRecordType(); in getVAListAsRegion()
/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprMember.cpp575 PT->getPointeeType()->isRecordType())) { in ActOnDependentMemberExpr()
851 assert(baseVariable->getType()->isRecordType()); in BuildAnonymousStructUnionMemberReference()
1260 static bool isRecordType(QualType T) { in isRecordType() function
1261 return T->isRecordType(); in isRecordType()
1265 return PT->getPointeeType()->isRecordType(); in isPointerToRecordType()
1318 else if (BaseType->isRecordType()) { in LookupMemberExpr()
1704 if (!IsArrow && Ptr->getPointeeType()->isRecordType() && in LookupMemberExpr()
1725 IsArrow ? &isPointerToRecordType : &isRecordType)) { in LookupMemberExpr()
H A DSemaInit.cpp579 Entity.getType()->getBaseElementTypeUnsafe()->isRecordType(); in PerformEmptyInit()
1135 else if (T->isRecordType()) in CheckImplicitInitList()
1179 if (!VerifyOnly && (T->isArrayType() || T->isRecordType()) && in CheckImplicitInitList()
1378 if (DeclType->isRecordType()) { in CheckListElementTypes()
1565 assert((ElemType->isRecordType() || ElemType->isVectorType() || in CheckSubElementType()
3408 } else if (CurrentObjectType->isRecordType()) { in createInitListExpr()
4540 } else if (!UnqualifiedTargetType->isRecordType()) { in ResolveOverloadedFunctionForReferenceBinding()
4690 if (DestType->isRecordType() && in TryListInitialization()
4725 if (DestType->isRecordType()) { in TryListInitialization()
4764 if ((DestType->isRecordType() && !DestType->isAggregateType()) || in TryListInitialization()
[all …]
H A DSemaCast.cpp75 if (!S.Context.getLangOpts().ObjC && !DestType->isRecordType() && in CastOperation()
437 if (!destType->isRecordType() && !srcType->isRecordType()) in tryDiagnoseOverloadedCast()
1266 if (ValueKind == VK_PRValue && !DestType->isRecordType() && in CheckStaticCast()
1888 if (DestType->isRecordType()) { in TryStaticImplicitCast()
1968 if (!SrcType->isRecordType()) { in TryConstCast()
2762 if (ValueKind == VK_PRValue && !DestType->isRecordType() && in CheckCXXCStyleCast()
H A DSemaOverload.cpp2094 (FromType->isRecordType() || ToType->isRecordType())) in IsStandardConversion()
2836 if (getLangOpts().CPlusPlus && FromPointeeType->isRecordType() && in IsPointerConversion()
2837 ToPointeeType->isRecordType() && in IsPointerConversion()
3090 if ((!getLangOpts().CPlusPlus || !RHS->isRecordType()) && in IsBlockPointerConversion()
3334 if (FromPointeeType->isRecordType() && ToPointeeType->isRecordType() && in CheckPointerConversion()
3448 assert(FromClass->isRecordType() && "Pointer into non-class."); in CheckMemberPointerConversion()
3449 assert(ToClass->isRecordType() && "Pointer into non-class."); in CheckMemberPointerConversion()
4916 assert(T2->isRecordType() && "Can only find conversions of record types."); in FindConversionForRefInit()
5128 if (!SuppressUserConversions && T2->isRecordType() && in TryReferenceInit()
5154 (T2->isRecordType() || T2->isArrayType())) || in TryReferenceInit()
[all …]
H A DSemaExceptionSpec.cpp164 if (!(PointeeT->isRecordType() && in CheckSpecifiedExceptionType()
733 if (!ExceptionType->isRecordType() || !HandlerType->isRecordType()) in handlerCanCatch()
H A DSemaPPC.cpp39 if (!PD || !PD->getType()->isRecordType()) in checkAIXMemberAlignment()
/src/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DStorageLocation.h104 assert(Type->isRecordType()); in RecordStorageLocation()
H A DDataflowAnalysisContext.h195 assert(Type->isRecordType()); in getSyntheticFields()
/src/contrib/llvm-project/clang/lib/Interpreter/
H A DValue.cpp129 (Canon->isRecordType() || Canon->isConstantArrayType() || in Value()
/src/contrib/llvm-project/clang/lib/AST/
H A DExprClassification.cpp84 if (T->isRecordType()) in ClassifyTemporary()
492 NTTParm->getType()->isRecordType(); in ClassifyDecl()
/src/contrib/llvm-project/clang/lib/Analysis/
H A DUninitializedValues.cpp329 if (VD->getType()->isRecordType()) in getSelfInitExpr()
436 if (!CE->getArg(0)->getType()->isRecordType()) in VisitCallExpr()
/src/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSVals.h243 return T->isArrayType() || T->isRecordType() || in isCompoundType()
/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp273 assert(R->getValueType()->isRecordType() && in isNonUnionUninit()

1234