/external/libcxx/test/std/containers/sequences/array/ |
D | size_and_alignment.pass.cpp | 33 typedef std::array<T, Size> ArrayT; in test() typedef 35 static_assert(sizeof(ArrayT) == sizeof(CArrayT), ""); in test() 36 static_assert(sizeof(ArrayT) == sizeof(MyArrayT), ""); in test() 37 static_assert(TEST_ALIGNOF(ArrayT) == TEST_ALIGNOF(MyArrayT), ""); in test() 39 ArrayT a; in test() 41 static_assert(sizeof(ArrayT) == sizeof(a.__elems_), ""); in test() 42 static_assert(TEST_ALIGNOF(ArrayT) == __alignof__(a.__elems_), ""); in test()
|
/external/llvm-project/libcxx/test/std/containers/sequences/array/ |
D | size_and_alignment.pass.cpp | 32 typedef std::array<T, Size> ArrayT; in test() typedef 34 static_assert(sizeof(ArrayT) == sizeof(CArrayT), ""); in test() 35 static_assert(sizeof(ArrayT) == sizeof(MyArrayT), ""); in test() 36 static_assert(TEST_ALIGNOF(ArrayT) == TEST_ALIGNOF(MyArrayT), ""); in test()
|
/external/llvm-project/llvm/lib/FuzzMutate/ |
D | Operations.cpp | 223 if (auto *ArrayT = dyn_cast<ArrayType>(Cur[0]->getType())) in matchScalarInAggregate() local 224 return V->getType() == ArrayT->getElementType(); in matchScalarInAggregate() 233 if (auto *ArrayT = dyn_cast<ArrayType>(Cur[0]->getType())) in matchScalarInAggregate() local 234 return makeConstantsWithType(ArrayT->getElementType()); in matchScalarInAggregate()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/ |
D | Operations.cpp | 223 if (auto *ArrayT = dyn_cast<ArrayType>(Cur[0]->getType())) in matchScalarInAggregate() local 224 return V->getType() == ArrayT->getElementType(); in matchScalarInAggregate() 233 if (auto *ArrayT = dyn_cast<ArrayType>(Cur[0]->getType())) in matchScalarInAggregate() local 234 return makeConstantsWithType(ArrayT->getElementType()); in matchScalarInAggregate()
|
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
D | ProTypeMemberInitCheck.cpp | 323 while (const ConstantArrayType *ArrayT = Context.getAsConstantArrayType(T)) { in isIncompleteOrZeroLengthArrayType() local 324 if (!ArrayT->getSize()) in isIncompleteOrZeroLengthArrayType() 327 T = ArrayT->getElementType(); in isIncompleteOrZeroLengthArrayType()
|
/external/clang/lib/Sema/ |
D | Sema.cpp | 802 if (const IncompleteArrayType *ArrayT in ActOnEndOfTranslationUnit() local 807 QualType T = Context.getConstantArrayType(ArrayT->getElementType(), in ActOnEndOfTranslationUnit()
|
D | SemaInit.cpp | 6240 if (const IncompleteArrayType *ArrayT in Perform() local 6263 = S.Context.getDependentSizedArrayType(ArrayT->getElementType(), in Perform() 6265 ArrayT->getSizeModifier(), in Perform() 6266 ArrayT->getIndexTypeCVRQualifiers(), in Perform()
|
D | TreeTransform.h | 9506 const ArrayType *ArrayT = SemaRef.Context.getAsArrayType(AllocType); in TransformCXXNewExpr() local 9507 if (!ArrayT) { in TransformCXXNewExpr() 9510 = dyn_cast<ConstantArrayType>(ArrayT)) { in TransformCXXNewExpr() 9516 = dyn_cast<DependentSizedArrayType>(ArrayT)) { in TransformCXXNewExpr()
|
D | SemaDeclCXX.cpp | 3753 while (const ConstantArrayType *ArrayT = Context.getAsConstantArrayType(T)) { in isIncompleteOrZeroLengthArrayType() local 3754 if (!ArrayT->getSize()) in isIncompleteOrZeroLengthArrayType() 3757 T = ArrayT->getElementType(); in isIncompleteOrZeroLengthArrayType()
|
D | SemaDecl.cpp | 10091 if (const IncompleteArrayType *ArrayT in ActOnUninitializedDecl() local 10094 ArrayT->getElementType(), in ActOnUninitializedDecl()
|
/external/llvm-project/clang/lib/Sema/ |
D | Sema.cpp | 1164 if (const IncompleteArrayType *ArrayT in ActOnEndOfTranslationUnit() local 1169 QualType T = Context.getConstantArrayType(ArrayT->getElementType(), One, in ActOnEndOfTranslationUnit()
|
D | SemaInit.cpp | 7948 if (const IncompleteArrayType *ArrayT in Perform() local 7971 = S.Context.getDependentSizedArrayType(ArrayT->getElementType(), in Perform() 7973 ArrayT->getSizeModifier(), in Perform() 7974 ArrayT->getIndexTypeCVRQualifiers(), in Perform()
|
D | TreeTransform.h | 11557 const ArrayType *ArrayT = SemaRef.Context.getAsArrayType(AllocType); in TransformCXXNewExpr() local 11558 if (!ArrayT) { in TransformCXXNewExpr() 11561 = dyn_cast<ConstantArrayType>(ArrayT)) { in TransformCXXNewExpr() 11567 = dyn_cast<DependentSizedArrayType>(ArrayT)) { in TransformCXXNewExpr()
|
D | SemaDeclCXX.cpp | 4932 while (const ConstantArrayType *ArrayT = Context.getAsConstantArrayType(T)) { in isIncompleteOrZeroLengthArrayType() local 4933 if (!ArrayT->getSize()) in isIncompleteOrZeroLengthArrayType() 4936 T = ArrayT->getElementType(); in isIncompleteOrZeroLengthArrayType()
|
D | SemaDecl.cpp | 12613 if (const IncompleteArrayType *ArrayT in ActOnUninitializedDecl() local 12616 Var->getLocation(), ArrayT->getElementType(), in ActOnUninitializedDecl()
|