Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp277 !R->getValueType()->isUnionType() && in isNonUnionUninit()
315 if (T->isUnionType()) { in isNonUnionUninit()
376 assert(R->getValueType()->isUnionType() && in isUnionUninit()
H A DUninitializedPointee.cpp183 if (PointeeT->isUnionType()) { in isDereferencableUninit()
/llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/
H A DDataflowAnalysisContext.cpp30 (Type->isStructureOrClassType() || Type->isUnionType())) { in getStableStorageLocation()
H A DDataflowEnvironment.cpp193 if (!ThisPointeeType->isUnionType()) { in Environment()
H A DTransfer.cpp369 if (BaseLoc->getType()->isUnionType()) in VisitMemberExpr()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DCanonicalType.h296 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isUnionType)
H A DType.h2113 bool isUnionType() const;
6796 isUnionType() ||
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DSymbolManager.cpp368 if (T->isRecordType() && !T->isUnionType()) in canSymbolicate()
H A DRegionStore.cpp1455 if (RTy->isUnionType()) in getBinding()
2389 if (Ty->isUnionType()) in bind()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaInit.cpp1237 T->isUnionType() ? 3 : in CheckExplicitInitList()
2048 if (DeclType->isUnionType() && IList->getNumInits() == 0) { in CheckStructUnionTypes()
2208 if (InitializedSomething && DeclType->isUnionType()) in CheckStructUnionTypes()
2249 if (DeclType->isUnionType() && StructuredList) { in CheckStructUnionTypes()
2260 !DeclType->isUnionType()) { in CheckStructUnionTypes()
2275 if (!StructuredList && Field != FieldEnd && !DeclType->isUnionType() && in CheckStructUnionTypes()
H A DSemaExprObjC.cpp2532 : Ret->isUnionType() ? /*Union*/ 1 : /*Struct*/ 0); in checkFoundationAPI()
H A DSemaDeclCXX.cpp1415 << DecompType << FD->getType()->isUnionType(); in checkMemberDecomposition()
1996 (Field->getType()->isUnionType() in CheckConstexprCtorInitializer()
2571 if (BaseType->isUnionType()) { in CheckBaseSpecifier()
H A DSemaOpenMP.cpp6010 !(FieldTy->isStructureOrClassType() || FieldTy->isUnionType())) in processImplicitMapsWithDefaultMappers()
20757 if (CurType->isUnionType()) { in VisitMemberExpr()
21324 if (!Type->isStructureOrClassType() && !Type->isUnionType() && in buildUserDefinedMapperRef()
22038 if (!MapperType->isStructureOrClassType() && !MapperType->isUnionType()) { in ActOnOpenMPDeclareMapperType()
H A DSemaExprCXX.cpp4901 return T->isUnionType(); in EvaluateUnaryTypeTrait()
H A DSemaDeclAttr.cpp4078 if (TD && TD->getUnderlyingType()->isUnionType()) in handleTransparentUnionAttr()
H A DSemaDecl.cpp9346 << PT->isUnionType() in checkIsValidOpenCLKernelParameter()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DTargetInfo.cpp3144 bool IsUnion = RT->isUnionType() && !UseClang11Compat; in classify()
3914 if (MTy->isRecordType() && !MTy->isUnionType()) { in classifyRegCallStructTypeImpl()
3976 !FI.getReturnType()->getTypePtr()->isUnionType()) { in computeInfo()
10555 Enc += (RT->isUnionType()? 'u' : 's'); in appendRecordType()
10579 if (RT->isUnionType()) in appendRecordType()
H A DCGExprAgg.cpp1906 if (!RT->isUnionType()) { in GetNumNonZeroBytesInInit()
H A DCGExprConstant.cpp1070 assert(E->getType()->isUnionType() && in VisitCastExpr()
H A DCGObjCMac.cpp2488 if (FQT->isRecordType() || FQT->isUnionType()) { in BuildRCRecordLayout()
2489 if (FQT->isUnionType()) in BuildRCRecordLayout()
H A DCGDebugInfo.cpp5287 if (T->isUnionType() && DeclName.empty()) { in EmitGlobalVariable()
H A DCGOpenMPRuntime.cpp11427 if (CDT->isRecordType() || CDT->isUnionType()) in evaluateCDTSize()
/llvm-project-15.0.7/clang/lib/AST/
H A DType.cpp595 bool Type::isUnionType() const { in isUnionType() function in Type
H A DExprConstant.cpp5941 assert(SubobjType->isUnionType()); in found()
7260 if (Ty->isUnionType()) in checkBitCastConstexprEligibilityType()
11317 return CanTy->isUnionType() ? GCCTypeClass::Union in EvaluateBuiltinClassifyType()
/llvm-project-15.0.7/clang/unittests/Analysis/FlowSensitive/
H A DTransferTest.cpp2595 ASSERT_TRUE(BazDecl->getType()->isUnionType()); in TEST()