Home
last modified time | relevance | path

Searched refs:ArrayT (Results 1 – 15 of 15) 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/llvm-project/libcxx/test/std/containers/sequences/array/
Dsize_and_alignment.pass.cpp32 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/
DOperations.cpp223 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/
DOperations.cpp223 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/
DProTypeMemberInitCheck.cpp323 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/
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()
/external/llvm-project/clang/lib/Sema/
DSema.cpp1164 if (const IncompleteArrayType *ArrayT in ActOnEndOfTranslationUnit() local
1169 QualType T = Context.getConstantArrayType(ArrayT->getElementType(), One, in ActOnEndOfTranslationUnit()
DSemaInit.cpp7948 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()
DTreeTransform.h11557 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()
DSemaDeclCXX.cpp4932 while (const ConstantArrayType *ArrayT = Context.getAsConstantArrayType(T)) { in isIncompleteOrZeroLengthArrayType() local
4933 if (!ArrayT->getSize()) in isIncompleteOrZeroLengthArrayType()
4936 T = ArrayT->getElementType(); in isIncompleteOrZeroLengthArrayType()
DSemaDecl.cpp12613 if (const IncompleteArrayType *ArrayT in ActOnUninitializedDecl() local
12616 Var->getLocation(), ArrayT->getElementType(), in ActOnUninitializedDecl()