/external/clang/utils/ABITest/ |
D | TypeGen.py | 85 def __init__(self, index, isUnion, fields): argument 87 self.isUnion = isUnion 98 return '%s { %s }'%(('struct','union')[self.isUnion], 113 return 'typedef %s %s { %s } %s;'%(('struct','union')[self.isUnion], 370 isUnion,I = False,N 372 isUnion,I = (I&1),I>>1 374 return RecordType(N, isUnion, fields)
|
D | ABITestGen.py | 228 if t.isUnion: 329 if t.isUnion:
|
/external/clang/include/clang/AST/ |
D | APValue.h | 190 bool isUnion() const { return Kind == Union; } in isUnion() function 323 assert(isUnion() && "Invalid accessor"); in getUnionField() 327 assert(isUnion() && "Invalid accessor"); in getUnionValue() 382 assert(isUnion() && "Invalid accessor"); in setUnion()
|
D | DeclCXX.h | 1123 return !isUnion() && !hasUserDeclaredConstructor() && in hasUninitializedReferenceMember() 1201 (!isUnion() || hasInClassInitializer() || !hasVariantMembers()); in defaultedDefaultConstructorIsConstexpr()
|
/external/v8/tools/clang/blink_gc_plugin/ |
D | CheckGCRootsVisitor.cpp | 27 if (edge->value()->record()->isUnion()) in VisitValue()
|
D | CheckFieldsVisitor.cpp | 52 if (edge->value()->record()->isUnion()) in AtValue()
|
D | BlinkGCPluginConsumer.cpp | 158 if (record->isUnion()) in CheckRecord()
|
/external/clang/lib/AST/ |
D | ItaniumCXXABI.cpp | 45 assert(RT->getDecl()->isUnion() && "RecordType is expected to be a union."); in findAnonymousUnionVarDeclName()
|
D | DeclCXX.cpp | 700 if (isUnion() && !Field->isAnonymousStructOrUnion()) in addedMember() 801 if (isUnion()) { in addedMember() 898 !FieldRec->hasConstexprDefaultConstructor() && !isUnion()) in addedMember() 935 (!Field->hasInClassInitializer() && !isUnion())) in addedMember()
|
D | ExprConstant.cpp | 1531 if (Value.isUnion() && Value.getUnionField()) { in CheckConstantExpression() 2283 if (!RD || (RD->isUnion() && !RD->field_empty())) in isReadByLvalueToRvalueConversion() 2316 (RD->isUnion() || isReadByLvalueToRvalueConversion(Field->getType()))) { in diagnoseUnreadableFields() 2485 if (RD->isUnion()) { in findSubobject() 3964 (MD->getParent()->isUnion() || in HandleFunctionCall() 4033 (Definition->getParent()->isUnion() || in HandleConstructorCall() 4043 if (!RD->isUnion() && Result.isUninit()) in HandleConstructorCall() 4081 if (RD->isUnion()) { in HandleConstructorCall() 4099 (Value->isUnion() && Value->getUnionField() != FD)) { in HandleConstructorCall() 4100 if (CD->isUnion()) in HandleConstructorCall() [all …]
|
D | Type.cpp | 393 return RT->getDecl()->isUnion(); in isUnionType() 453 if (RT->getDecl()->isUnion()) in getAsUnionType() 459 if (!RT->getDecl()->isUnion()) in getAsUnionType()
|
D | CommentSema.cpp | 879 return RD->isUnion(); in isUnionDecl()
|
/external/clang/lib/CodeGen/ |
D | CGRecordLayoutBuilder.cpp | 264 if (D->isUnion()) in lower() 693 if (isa<CXXRecordDecl>(D) && !D->isUnion() && !D->hasAttr<FinalAttr>()) { in ComputeRecordLayout() 787 if (D->isUnion()) { in ComputeRecordLayout()
|
D | CGExprConstant.cpp | 382 if (RD->isUnion() && ILE->getInitializedFieldInUnion() != *Field) in Build() 477 if (RD->isUnion() && Val.getUnionField() != *Field) in Build() 486 RD->isUnion() ? Val.getUnionValue() : Val.getStructField(FieldNo); in Build() 1150 if (RD->isUnion() && Updater->getInitializedFieldInUnion() != Field) in Build() 1550 if (record->isUnion()) { in EmitNullConstant()
|
D | CGExprAgg.cpp | 1218 if (record->isUnion()) { in VisitInitListExpr() 1472 Record->isUnion()) && in EmitAggregateCopy()
|
D | SwiftCallingConv.cpp | 109 if (record->isUnion()) { in addTypedData()
|
D | CGClass.cpp | 675 if (D->getParent()->isUnion() && D->isDefaulted()) in isMemcpyEquivalentSpecialMember() 1476 if (FieldClassDecl->isUnion() && FieldClassDecl->isAnonymousStructOrUnion()) in FieldHasTrivialDestructorBody() 1831 if (ClassDecl->isUnion()) in EnterDtorCleanups()
|
/external/libmojo/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
D | Decoder.java | 157 private DataHeader readDataHeaderAtOffset(int offset, boolean isUnion) { in readDataHeaderAtOffset() argument 164 if (elementsOrVersion < 0 && (!isUnion || elementsOrVersion != -1)) { in readDataHeaderAtOffset()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | PaddingChecker.cpp | 129 if (RD->isUnion()) in shouldSkipDecl()
|
/external/clang/lib/Sema/ |
D | SemaDecl.cpp | 3972 << Record->isUnion() << DS.getSourceRange(); in ParsedFreeStandingDeclSpec() 4141 AnonRecord->isUnion())) { in InjectAnonymousStructOrUnionMembers() 4228 if (!Parent->isUnion() || !Parent->hasInClassInitializer()) in checkDuplicateDefaultInit() 4237 if (!Parent->isUnion() || !Parent->hasInClassInitializer()) in checkDuplicateDefaultInit() 4254 if (Record->isUnion() && !getLangOpts().CPlusPlus && !getLangOpts().C11) in BuildAnonymousStructOrUnion() 4256 else if (!Record->isUnion() && getLangOpts().CPlusPlus) in BuildAnonymousStructOrUnion() 4258 else if (!Record->isUnion() && !getLangOpts().C11) in BuildAnonymousStructOrUnion() 4267 if (Record->isUnion()) { in BuildAnonymousStructOrUnion() 4302 << Record->isUnion() << "const" in BuildAnonymousStructOrUnion() 4307 << Record->isUnion() << "volatile" in BuildAnonymousStructOrUnion() [all …]
|
D | SemaDeclCXX.cpp | 1007 if (!RD->isUnion() || Inits.count(I)) in CheckConstexprCtorInitializer() 1176 if (RD->isUnion()) { in CheckConstexprFunctionBody() 1360 if (Class->isUnion()) { in CheckBaseSpecifier() 3616 if (!Field->getParent()->isUnion()) { in BuildImplicitMemberInitializer() 3706 if (!Record->isUnion()) in isInactiveUnionMember() 3891 if (FD && FD->getParent()->isUnion()) in SetCtorInitializers() 3896 if (FD->getParent()->isUnion()) in SetCtorInitializers() 4178 while (Parent->isAnonymousStructOrUnion() || Parent->isUnion()) { in CheckRedundantUnionInit() 4179 if (Parent->isUnion()) { in CheckRedundantUnionInit() 4278 if (ClassDecl->isDependentContext() || ClassDecl->isUnion()) in MarkBaseAndMemberDestructorsReferenced() [all …]
|
D | SemaInit.cpp | 536 if (!RType->getDecl()->isUnion()) in FillInEmptyInitForField() 624 if (RDecl->isUnion() && ILE->getInitializedFieldInUnion()) in FillInEmptyInitializations() 627 else if (RDecl->isUnion() && isa<CXXRecordDecl>(RDecl) && in FillInEmptyInitializations() 674 if (RDecl->isUnion()) in FillInEmptyInitializations() 811 if (structDecl->isUnion()) in numStructUnionElements() 2242 if (RT->getDecl()->isUnion()) { in CheckDesignatedInitializer() 2384 if (RT->getDecl()->isUnion()) in CheckDesignatedInitializer() 2675 if (RDecl->isUnion()) in getStructuredSubobjectInit() 6012 if (RD->isUnion() && ILE->getInitializedFieldInUnion() && in performLifetimeExtension()
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 327 REGISTER_MATCHER(isUnion); in RegistryMaps()
|
/external/v8/tools/clang/plugins/ |
D | FindBadConstructsConsumer.cpp | 299 if (record->isUnion()) in CheckCtorDtorWeight()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 3741 AST_MATCHER(RecordDecl, isUnion) { in AST_MATCHER() argument 3742 return Node.isUnion(); in AST_MATCHER()
|