| /llvm-project-15.0.7/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.modifiers/ |
| H A D | reset.pass.cpp | 21 template <bool IsArray> 23 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_reset_pointer() 24 const int expect_alive = IsArray ? 3 : 1; in test_reset_pointer() 58 template <bool IsArray> 60 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_reset_nullptr() 61 const int expect_alive = IsArray ? 3 : 1; in test_reset_nullptr() 82 template <bool IsArray> 84 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_reset_no_arg() 85 const int expect_alive = IsArray ? 3 : 1; in test_reset_no_arg()
|
| H A D | release.pass.cpp | 21 template <bool IsArray> 23 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_basic() 24 const int expect_alive = IsArray ? 3 : 1; in test_basic() 42 if (IsArray) in test_basic()
|
| H A D | swap.pass.cpp | 50 template <bool IsArray> 52 typedef typename std::conditional<IsArray, TT[], TT>::type VT; in test_basic() 53 const int expect_alive = IsArray ? 5 : 1; in test_basic()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.asgn/ |
| H A D | nullptr.pass.cpp | 23 template <bool IsArray> 25 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_basic() 26 const int expect_alive = IsArray ? 5 : 1; in test_basic()
|
| H A D | null.pass.cpp | 22 template <bool IsArray> 24 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_basic() 25 const int expect_alive = IsArray ? 5 : 1; in test_basic()
|
| H A D | move.pass.cpp | 35 template <bool IsArray> 37 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_basic() 38 const int expect_alive = IsArray ? 5 : 1; in test_basic() 88 template <bool IsArray> 90 typedef typename std::conditional<IsArray, int[], int>::type VT; in test_sfinae()
|
| H A D | move_convert.pass.cpp | 195 template <bool IsArray> 197 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_sfinae() 285 template <bool IsArray> 287 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_noexcept() 310 template <bool IsArray> 312 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_deleter_value_category()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/ |
| H A D | pointer_deleter.pass.cpp | 54 template <bool IsArray> 57 typedef typename std::conditional<!IsArray, int, int[]>::type VT; in test_sfinae() 104 template <bool IsArray> 107 typedef typename std::conditional<!IsArray, int, int[]>::type VT; in test_noexcept() 206 template <bool IsArray> 208 typedef typename std::conditional<!IsArray, A, A[]>::type VT; in test_basic() 209 const int expect_alive = IsArray ? 5 : 1; in test_basic() 252 typedef typename std::conditional<IsArray, int[], int>::type VT2; in test_basic() 291 template <bool IsArray> 294 typedef typename std::conditional<!IsArray, A, A[]>::type VT; in test_nullptr()
|
| H A D | move_convert.pass.cpp | 99 template <bool IsArray> 101 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_sfinae() 148 template <bool IsArray> 150 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_noexcept() 174 template <bool IsArray> 176 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_deleter_value_category()
|
| H A D | pointer.pass.cpp | 39 template <bool IsArray> 41 typedef typename std::conditional<!IsArray, A, A[]>::type ValueT; in test_pointer() 42 const int expect_alive = IsArray ? 5 : 1; in test_pointer()
|
| H A D | move.pass.cpp | 83 template <bool IsArray> 85 typedef typename std::conditional<!IsArray, A, A[]>::type VT; in test_basic() 86 const int expect_alive = IsArray ? 5 : 1; in test_basic()
|
| /llvm-project-15.0.7/clang/lib/AST/Interp/ |
| H A D | Descriptor.h | 80 const bool IsArray = false; member 144 bool isPrimitiveArray() const { return IsArray && !ElemDesc; } in isPrimitiveArray() 151 bool isPrimitive() const { return !IsArray && !ElemRecord; } in isPrimitive() 154 bool isArray() const { return IsArray; } in isArray()
|
| H A D | Descriptor.cpp | 124 Desc->IsInitialized = (B->isStatic() || F->IsArray) && !IsBase; in ctorRecord() 201 IsMutable(IsMutable), IsTemporary(IsTemporary), IsArray(true), in Descriptor() 211 IsTemporary(IsTemporary), IsArray(true), CtorFn(getCtorArrayPrim(Type)), in Descriptor() 222 IsArray(true), CtorFn(ctorArrayDesc), DtorFn(dtorArrayDesc), in Descriptor() 231 IsConst(true), IsMutable(false), IsTemporary(IsTemporary), IsArray(true), in Descriptor()
|
| H A D | Pointer.h | 131 if (!Desc->IsArray) in expand() 203 bool inArray() const { return getFieldDesc()->IsArray; } in inArray()
|
| H A D | Pointer.cpp | 192 return A.Base == B.Base && A.getFieldDesc()->IsArray; in hasSameArray()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/ |
| H A D | pointer_type.pass.cpp | 33 template <bool IsArray> 35 typedef typename std::conditional<IsArray, int[], int>::type VT; in test_basic()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.observers/ |
| H A D | explicit_bool.pass.cpp | 34 template <bool IsArray> 36 typedef typename std::conditional<IsArray, int[], int>::type VT; in test_basic()
|
| H A D | get.pass.cpp | 21 template <bool IsArray> 23 typedef typename std::conditional<IsArray, int[], int>::type VT; in test_basic()
|
| H A D | get_deleter.pass.cpp | 28 template <bool IsArray> 30 typedef typename std::conditional<IsArray, int[], int>::type VT; in test_basic()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CheckPlacementNew.cpp | 37 bool &IsArray) const; 72 bool &IsArray) const { in getExtentSizeOfNewTarget() 78 IsArray = false; in getExtentSizeOfNewTarget() 80 IsArray = true; in getExtentSizeOfNewTarget()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | InlayHints.cpp | 39 IsArray = true; in AggregateDesignatorNames() 61 if (IsArray) in next() 71 if (IsArray) { in append() 103 bool IsArray = false; member in clang::clangd::__anon18ece24e0111::AggregateDesignatorNames
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ExprCXX.cpp | 199 CXXNewExprBits.IsArray = ArraySize.has_value(); in CXXNewExpr() 234 CXXNewExpr::CXXNewExpr(EmptyShell Empty, bool IsArray, in CXXNewExpr() argument 237 CXXNewExprBits.IsArray = IsArray; in CXXNewExpr() 251 bool IsArray = ArraySize.has_value(); in Create() local 257 IsArray + HasInit + NumPlacementArgs, IsParenTypeId), in Create() 266 CXXNewExpr *CXXNewExpr::CreateEmpty(const ASTContext &Ctx, bool IsArray, in CreateEmpty() argument 271 IsArray + HasInit + NumPlacementArgs, IsParenTypeId), in CreateEmpty() 274 CXXNewExpr(EmptyShell(), IsArray, NumPlacementArgs, IsParenTypeId); in CreateEmpty()
|
| /llvm-project-15.0.7/flang/include/flang/Lower/ |
| H A D | BoxAnalyzer.h | 230 return det && det->IsArray(); in symIsArray() 236 return det && det->IsArray() && det->shape().IsExplicitShape(); in isExplicitShape()
|
| /llvm-project-15.0.7/llvm/include/llvm/Demangle/ |
| H A D | ItaniumDemangle.h | 1928 bool IsArray; // new[] ? variable 1933 InitList(InitList_), IsGlobal(IsGlobal_), IsArray(IsArray_) {} in NewExpr() 1936 F(ExprList, Type, InitList, IsGlobal, IsArray, getPrecedence()); in match() 1943 if (IsArray) in printLeft() 1963 bool IsArray; variable 1968 IsArray(IsArray_) {} in DeleteExpr() 1971 F(Op, IsGlobal, IsArray, getPrecedence()); in match() 1978 if (IsArray) in printLeft() 2085 bool IsArray; variable 2088 : Node(KBracedExpr), Elem(Elem_), Init(Init_), IsArray(IsArray_) {} in BracedExpr() [all …]
|
| /llvm-project-15.0.7/libcxxabi/src/demangle/ |
| H A D | ItaniumDemangle.h | 1928 bool IsArray; // new[] ? variable 1933 InitList(InitList_), IsGlobal(IsGlobal_), IsArray(IsArray_) {} in NewExpr() 1936 F(ExprList, Type, InitList, IsGlobal, IsArray, getPrecedence()); in match() 1943 if (IsArray) in printLeft() 1963 bool IsArray; variable 1968 IsArray(IsArray_) {} in DeleteExpr() 1971 F(Op, IsGlobal, IsArray, getPrecedence()); in match() 1978 if (IsArray) in printLeft() 2085 bool IsArray; variable 2088 : Node(KBracedExpr), Elem(Elem_), Init(Init_), IsArray(IsArray_) {} in BracedExpr() [all …]
|