/external/llvm-project/clang/lib/AST/ |
D | RecordLayoutBuilder.cpp | 614 unsigned IsUnion : 1; member in __anonb7f8836c0111::ItaniumRecordLayoutBuilder 695 InferAlignment(false), Packed(false), IsUnion(false), in ItaniumRecordLayoutBuilder() 1065 assert(!IsUnion && "Unions cannot be dynamic classes."); in LayoutNonVirtualBases() 1203 assert(!IsUnion && "Unions cannot have base classes."); in LayoutBase() 1311 IsUnion = RD->isUnion(); in InitializeLayout() 1490 if (IsUnion) { in LayoutWideBitField() 1612 IsUnion ? 0 : (getDataSizeInBits() - UnfilledBitsInLastUnit); in LayoutBitField() 1658 if (IsMsStruct && IsUnion) { in LayoutBitField() 1741 if (IsUnion) { in LayoutBitField() 1801 (IsUnion || IsOverlappingEmptyField) ? CharUnits::Zero() : getDataSize(); in LayoutField() [all …]
|
/external/clang/lib/AST/ |
D | RecordLayoutBuilder.cpp | 598 unsigned IsUnion : 1; member in __anon149eb1fe0111::ItaniumRecordLayoutBuilder 663 IsUnion(false), IsMac68kAlign(false), IsMsStruct(false), in ItaniumRecordLayoutBuilder() 1231 IsUnion = RD->isUnion(); in InitializeLayout() 1405 if (IsUnion) { in LayoutWideBitField() 1526 IsUnion ? 0 : (getDataSizeInBits() - UnfilledBitsInLastUnit); in LayoutBitField() 1572 if (IsMsStruct && IsUnion) { in LayoutBitField() 1654 if (IsUnion) { in LayoutBitField() 1719 IsUnion ? CharUnits::Zero() : getDataSize(); in LayoutField() 1784 if (!IsUnion && EmptySubobjects) { in LayoutField() 1791 if (!IsUnion && EmptySubobjects) { in LayoutField() [all …]
|
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
D | ProTypeMemberInitCheck.cpp | 393 bool IsUnion = ClassDecl.isUnion(); in checkMissingMemberInitializer() local 395 if (IsUnion && ClassDecl.hasInClassInitializer()) in checkMissingMemberInitializer() 415 if (IsUnion) in checkMissingMemberInitializer() 438 IsUnion in checkMissingMemberInitializer()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/ |
D | BTFDebug.cpp | 97 BTFTypeFwd::BTFTypeFwd(StringRef Name, bool IsUnion) : Name(Name) { in BTFTypeFwd() argument 99 BTFType.Info = IsUnion << 31 | Kind << 24; in BTFTypeFwd() 526 void BTFDebug::visitFwdDeclType(const DICompositeType *CTy, bool IsUnion, in visitFwdDeclType() argument 528 auto TypeEntry = std::make_unique<BTFTypeFwd>(CTy->getName(), IsUnion); in visitFwdDeclType() 1212 bool IsUnion = Fixup.second.first; in endModule() local 1224 auto FwdTypeEntry = std::make_unique<BTFTypeFwd>(TypeName, IsUnion); in endModule()
|
D | BTFDebug.h | 74 BTFTypeFwd(StringRef Name, bool IsUnion); 275 void visitFwdDeclType(const DICompositeType *CTy, bool IsUnion,
|
/external/llvm-project/llvm/lib/Target/BPF/ |
D | BTFDebug.h | 80 BTFTypeFwd(StringRef Name, bool IsUnion); 281 void visitFwdDeclType(const DICompositeType *CTy, bool IsUnion,
|
D | BTFDebug.cpp | 98 BTFTypeFwd::BTFTypeFwd(StringRef Name, bool IsUnion) : Name(Name) { in BTFTypeFwd() argument 100 BTFType.Info = IsUnion << 31 | Kind << 24; in BTFTypeFwd() 532 void BTFDebug::visitFwdDeclType(const DICompositeType *CTy, bool IsUnion, in visitFwdDeclType() argument 534 auto TypeEntry = std::make_unique<BTFTypeFwd>(CTy->getName(), IsUnion); in visitFwdDeclType() 1300 bool IsUnion = Fixup.second.first; in endModule() local 1312 auto FwdTypeEntry = std::make_unique<BTFTypeFwd>(TypeName, IsUnion); in endModule()
|
/external/llvm-project/clang/lib/AST/Interp/ |
D | Descriptor.cpp | 119 const bool IsUnion = D->ElemRecord->isUnion(); in ctorRecord() local 126 Desc->IsActive = IsActive && !IsUnion; in ctorRecord()
|
/external/flatbuffers/src/ |
D | idl_gen_csharp.cpp | 889 if (IsScalar(underlying_type.base_type) && !IsUnion(field.value.type)) { in GenStruct() 1887 if (IsUnion(field.value.type)) { in GenStruct_ObjectAPI() 1928 if (IsUnion(field.value.type)) { in GenStruct_ObjectAPI()
|
D | idl_gen_swift.cpp | 481 if (parser_.opts.mutable_buffer && !IsUnion(field.value.type)) in GenTableReaderFields()
|
D | idl_gen_java.cpp | 912 if (IsScalar(underlying_type.base_type) && !IsUnion(field.value.type)) { in GenStruct()
|
D | idl_gen_js_ts.cpp | 1023 !IsUnion(field.value.type)) { in GenStruct()
|
D | idl_gen_cpp.cpp | 2013 if (opts_.mutable_buffer && !(is_scalar && IsUnion(field.value.type))) { in GenTable()
|
/external/llvm-project/llvm/lib/MC/MCParser/ |
D | MasmParser.cpp | 130 bool IsUnion = false; member 143 : Name(StructName), IsUnion(Union), Alignment(AlignmentValue) {} in StructInfo() 347 if (IsUnion) { in addField() 3527 if (Struct.IsUnion) in addIntegralField() 3733 if (Struct.IsUnion) in addRealField() 4232 if (OwningStruct.IsUnion) in addStructField() 4394 if (!ParentStruct.IsUnion) { in parseDirectiveNestedEnds() 4401 if (ParentStruct.IsUnion) in parseDirectiveNestedEnds() 4413 if (ParentStruct.IsUnion) in parseDirectiveNestedEnds()
|
/external/flatbuffers/include/flatbuffers/ |
D | idl.h | 440 inline bool IsUnion(const Type &type) { in IsUnion() function
|
/external/clang/include/clang/Basic/ |
D | TokenKinds.def | 440 TYPE_TRAIT_1(__is_union, IsUnion, KEYCXX)
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaDecl.cpp | 4816 bool IsUnion) { in CheckAnonMemberRedeclaration() argument 4829 << IsUnion << Name; in CheckAnonMemberRedeclaration() 11787 bool IsUnion = false; in visitStruct() local 11789 IsUnion = OrigRD->isUnion(); in visitStruct() 11791 << 0 << OrigTy << IsUnion << UseContext; in visitStruct() 11852 bool IsUnion = false; in visitStruct() local 11854 IsUnion = OrigRD->isUnion(); in visitStruct() 11856 << 1 << OrigTy << IsUnion << UseContext; in visitStruct() 11918 bool IsUnion = false; in visitStruct() local 11920 IsUnion = OrigRD->isUnion(); in visitStruct() [all …]
|
D | SemaCodeComplete.cpp | 369 bool IsUnion(const NamedDecl *ND) const; 1464 bool ResultBuilder::IsUnion(const NamedDecl *ND) const { in IsUnion() function in ResultBuilder 5331 Filter = &ResultBuilder::IsUnion; in CodeCompleteTag()
|
/external/llvm-project/clang/include/clang/Basic/ |
D | TokenKinds.def | 503 TYPE_TRAIT_1(__is_union, IsUnion, KEYCXX)
|
/external/clang/lib/Sema/ |
D | SemaCodeComplete.cpp | 332 bool IsUnion(const NamedDecl *ND) const; 1143 bool ResultBuilder::IsUnion(const NamedDecl *ND) const { in IsUnion() function in ResultBuilder 3782 Filter = &ResultBuilder::IsUnion; in CodeCompleteTag()
|
D | SemaDecl.cpp | 4093 bool IsUnion) { in CheckAnonMemberRedeclaration() argument 4106 << IsUnion << Name; in CheckAnonMemberRedeclaration()
|
/external/llvm-project/clang/unittests/ASTMatchers/ |
D | ASTMatchersNarrowingTest.cpp | 3398 TEST_P(ASTMatchersTest, IsUnion) { in TEST_P() argument
|
/external/clang/lib/CodeGen/ |
D | CGObjCMac.cpp | 2200 bool IsUnion = (RD && RD->isUnion()); in BuildRCRecordLayout() local 2270 if (IsUnion) { in BuildRCRecordLayout()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGObjCMac.cpp | 2502 bool IsUnion = (RD && RD->isUnion()); in BuildRCRecordLayout() local 2569 if (IsUnion) { in BuildRCRecordLayout()
|
D | TargetInfo.cpp | 3067 bool IsUnion = RT->isUnionType() && !UseClang11Compat; in classify() local 3088 ((!IsUnion && Size != getContext().getTypeSize(i->getType())) || in classify()
|