Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/test/std/containers/sequences/array/
H A Dsize_and_alignment.pass.cpp36 typedef std::array<T, Size> ArrayT; in test() typedef
38 static_assert(sizeof(ArrayT) == sizeof(CArrayT), ""); in test()
39 static_assert(sizeof(ArrayT) == sizeof(MyArrayT), ""); in test()
40 static_assert(TEST_ALIGNOF(ArrayT) == TEST_ALIGNOF(MyArrayT), ""); in test()
/llvm-project-15.0.7/llvm/lib/FuzzMutate/
H A DOperations.cpp230 if (auto *ArrayT = dyn_cast<ArrayType>(Cur[0]->getType())) in matchScalarInAggregate() local
231 return V->getType() == ArrayT->getElementType(); in matchScalarInAggregate()
240 if (auto *ArrayT = dyn_cast<ArrayType>(Cur[0]->getType())) in matchScalarInAggregate() local
241 return makeConstantsWithType(ArrayT->getElementType()); in matchScalarInAggregate()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DConstCorrectnessCheck.cpp134 if (const auto *ArrayT = dyn_cast<ArrayType>(Variable->getType())) { in check() local
135 if (ArrayT->getElementType()->isPointerType()) in check()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DProTypeMemberInitCheck.cpp344 while (const ConstantArrayType *ArrayT = Context.getAsConstantArrayType(T)) { in isIncompleteOrZeroLengthArrayType() local
345 if (!ArrayT->getSize()) in isIncompleteOrZeroLengthArrayType()
348 T = ArrayT->getElementType(); in isIncompleteOrZeroLengthArrayType()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSema.cpp1280 if (const IncompleteArrayType *ArrayT in ActOnEndOfTranslationUnit() local
1285 QualType T = Context.getConstantArrayType(ArrayT->getElementType(), One, in ActOnEndOfTranslationUnit()
H A DSemaInit.cpp8078 if (const IncompleteArrayType *ArrayT in Perform() local
8101 = S.Context.getDependentSizedArrayType(ArrayT->getElementType(), in Perform()
8103 ArrayT->getSizeModifier(), in Perform()
8104 ArrayT->getIndexTypeCVRQualifiers(), in Perform()
H A DTreeTransform.h12155 const ArrayType *ArrayT = SemaRef.Context.getAsArrayType(AllocType); in TransformCXXNewExpr() local
12156 if (!ArrayT) { in TransformCXXNewExpr()
12159 = dyn_cast<ConstantArrayType>(ArrayT)) { in TransformCXXNewExpr()
12165 = dyn_cast<DependentSizedArrayType>(ArrayT)) { in TransformCXXNewExpr()
H A DSemaDeclCXX.cpp5033 while (const ConstantArrayType *ArrayT = Context.getAsConstantArrayType(T)) { in isIncompleteOrZeroLengthArrayType() local
5034 if (!ArrayT->getSize()) in isIncompleteOrZeroLengthArrayType()
5037 T = ArrayT->getElementType(); in isIncompleteOrZeroLengthArrayType()
H A DSemaDecl.cpp13293 if (const IncompleteArrayType *ArrayT in ActOnUninitializedDecl() local
13296 Var->getLocation(), ArrayT->getElementType(), in ActOnUninitializedDecl()