Home
last modified time | relevance | path

Searched refs:ArrayT (Results 1 – 7 of 7) sorted by relevance

/external/libcxx/test/std/containers/sequences/array/
Dsize_and_alignment.pass.cpp33 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/swiftshader/third_party/llvm-7.0/llvm/lib/FuzzMutate/
DOperations.cpp224 if (auto *ArrayT = dyn_cast<ArrayType>(Cur[0]->getType())) in matchScalarInAggregate() local
225 return V->getType() == ArrayT->getElementType(); in matchScalarInAggregate()
234 if (auto *ArrayT = dyn_cast<ArrayType>(Cur[0]->getType())) in matchScalarInAggregate() local
235 return makeConstantsWithType(ArrayT->getElementType()); in matchScalarInAggregate()
/external/clang/lib/Sema/
DSema.cpp802 if (const IncompleteArrayType *ArrayT in ActOnEndOfTranslationUnit() local
807 QualType T = Context.getConstantArrayType(ArrayT->getElementType(), in ActOnEndOfTranslationUnit()
DSemaInit.cpp6240 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()
DTreeTransform.h9506 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()
DSemaDeclCXX.cpp3753 while (const ConstantArrayType *ArrayT = Context.getAsConstantArrayType(T)) { in isIncompleteOrZeroLengthArrayType() local
3754 if (!ArrayT->getSize()) in isIncompleteOrZeroLengthArrayType()
3757 T = ArrayT->getElementType(); in isIncompleteOrZeroLengthArrayType()
DSemaDecl.cpp10091 if (const IncompleteArrayType *ArrayT in ActOnUninitializedDecl() local
10094 ArrayT->getElementType(), in ActOnUninitializedDecl()