| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | RecordLayoutBuilder.cpp | 614 unsigned IsUnion : 1; member in __anon0138ef250111::ItaniumRecordLayoutBuilder 1317 IsUnion = RD->isUnion(); in InitializeLayout() 1503 if (IsUnion) { in LayoutWideBitField() 1705 if (IsMsStruct && IsUnion) { in LayoutBitField() 1801 if (IsUnion) { in LayoutBitField() 2096 if (IsUnion) in LayoutField() 2617 bool IsUnion : 1; member 2737 IsUnion = RD->isUnion(); in initializeLayout() 2948 else if (IsUnion) in layoutField() 2986 } else if (IsUnion) { in layoutBitField() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
| H A D | ProTypeMemberInitCheck.cpp | 414 bool IsUnion = ClassDecl.isUnion(); in checkMissingMemberInitializer() local 416 if (IsUnion && ClassDecl.hasInClassInitializer()) in checkMissingMemberInitializer() 438 if (IsUnion) in checkMissingMemberInitializer() 468 << IsUnion << toCommaSeparatedString(OrderedFields, FieldsToInit); in checkMissingMemberInitializer()
|
| /llvm-project-15.0.7/llvm/lib/Target/BPF/ |
| H A D | BTFDebug.h | 82 BTFTypeFwd(StringRef Name, bool IsUnion); 329 void visitFwdDeclType(const DICompositeType *CTy, bool IsUnion,
|
| H A D | BTFDebug.cpp | 108 BTFTypeFwd::BTFTypeFwd(StringRef Name, bool IsUnion) : Name(Name) { in BTFTypeFwd() argument 110 BTFType.Info = IsUnion << 31 | Kind << 24; in BTFTypeFwd() 743 void BTFDebug::visitFwdDeclType(const DICompositeType *CTy, bool IsUnion, in visitFwdDeclType() argument 745 auto TypeEntry = std::make_unique<BTFTypeFwd>(CTy->getName(), IsUnion); in visitFwdDeclType() 1574 bool IsUnion = CTy->getTag() == dwarf::DW_TAG_union_type; in endModule() local 1586 auto FwdTypeEntry = std::make_unique<BTFTypeFwd>(TypeName, IsUnion); in endModule()
|
| /llvm-project-15.0.7/clang/lib/AST/Interp/ |
| H A D | Descriptor.cpp | 119 const bool IsUnion = D->ElemRecord->isUnion(); in ctorRecord() local 126 Desc->IsActive = IsActive && !IsUnion; in ctorRecord()
|
| /llvm-project-15.0.7/llvm/lib/MC/MCParser/ |
| H A D | MasmParser.cpp | 130 bool IsUnion = false; member 145 : Name(StructName), IsUnion(Union), Alignment(AlignmentValue) {} in StructInfo() 351 if (!IsUnion) { in addField() 3765 if (!Struct.IsUnion) { in addIntegralField() 3972 if (!Struct.IsUnion) { in addRealField() 4468 if (!OwningStruct.IsUnion) { in addStructField() 4634 if (!Structure.Fields.empty() && !ParentStruct.IsUnion) { in parseDirectiveNestedEnds() 4640 if (ParentStruct.IsUnion) { in parseDirectiveNestedEnds() 4647 if (!ParentStruct.IsUnion) { in parseDirectiveNestedEnds() 4661 if (!ParentStruct.IsUnion) { in parseDirectiveNestedEnds()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaDecl.cpp | 5246 bool IsUnion) { in CheckAnonMemberRedeclaration() argument 5259 << IsUnion << Name; in CheckAnonMemberRedeclaration() 12452 bool IsUnion = false; in visitStruct() local 12454 IsUnion = OrigRD->isUnion(); in visitStruct() 12456 << 0 << OrigTy << IsUnion << UseContext; in visitStruct() 12517 bool IsUnion = false; in visitStruct() local 12519 IsUnion = OrigRD->isUnion(); in visitStruct() 12521 << 1 << OrigTy << IsUnion << UseContext; in visitStruct() 12583 bool IsUnion = false; in visitStruct() local 12585 IsUnion = OrigRD->isUnion(); in visitStruct() [all …]
|
| H A D | SemaCodeComplete.cpp | 373 bool IsUnion(const NamedDecl *ND) const; 1498 bool ResultBuilder::IsUnion(const NamedDecl *ND) const { in IsUnion() function in ResultBuilder 5758 Filter = &ResultBuilder::IsUnion; in CodeCompleteTag()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | TokenKinds.def | 508 TYPE_TRAIT_1(__is_union, IsUnion, KEYCXX)
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/ |
| H A D | ASTMatchersNarrowingTest.cpp | 3900 TEST_P(ASTMatchersTest, IsUnion) { in TEST_P() argument
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGObjCMac.cpp | 2460 bool IsUnion = (RD && RD->isUnion()); in BuildRCRecordLayout() local 2527 if (IsUnion) { in BuildRCRecordLayout()
|
| H A D | TargetInfo.cpp | 3144 bool IsUnion = RT->isUnionType() && !UseClang11Compat; in classify() local 3165 ((!IsUnion && Size != getContext().getTypeSize(i->getType())) || in classify()
|