Searched refs:ArrayT (Results 1 – 9 of 9) sorted by relevance
| /llvm-project-15.0.7/libcxx/test/std/containers/sequences/array/ |
| H A D | size_and_alignment.pass.cpp | 36 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 D | Operations.cpp | 230 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 D | ConstCorrectnessCheck.cpp | 134 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 D | ProTypeMemberInitCheck.cpp | 344 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 D | Sema.cpp | 1280 if (const IncompleteArrayType *ArrayT in ActOnEndOfTranslationUnit() local 1285 QualType T = Context.getConstantArrayType(ArrayT->getElementType(), One, in ActOnEndOfTranslationUnit()
|
| H A D | SemaInit.cpp | 8078 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 D | TreeTransform.h | 12155 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 D | SemaDeclCXX.cpp | 5033 while (const ConstantArrayType *ArrayT = Context.getAsConstantArrayType(T)) { in isIncompleteOrZeroLengthArrayType() local 5034 if (!ArrayT->getSize()) in isIncompleteOrZeroLengthArrayType() 5037 T = ArrayT->getElementType(); in isIncompleteOrZeroLengthArrayType()
|
| H A D | SemaDecl.cpp | 13293 if (const IncompleteArrayType *ArrayT in ActOnUninitializedDecl() local 13296 Var->getLocation(), ArrayT->getElementType(), in ActOnUninitializedDecl()
|