Home
last modified time | relevance | path

Searched refs:IsArray (Results 1 – 25 of 49) sorted by relevance

12

/llvm-project/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.modifiers/
H A Dreset.pass.cpp21 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()
67 template <bool IsArray>
69 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_reset_nullptr()
70 const int expect_alive = IsArray ? 3 : 1; in test_reset_nullptr()
94 template <bool IsArray>
96 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_reset_no_arg()
97 const int expect_alive = IsArray ? 3 : 1; in test_reset_no_arg()
H A Drelease.pass.cpp21 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()
44 if (IsArray) in test_basic()
H A Dswap.pass.cpp59 template <bool IsArray>
61 typedef typename std::conditional<IsArray, TT[], TT>::type VT; in test_basic()
62 const int expect_alive = IsArray ? 5 : 1; in test_basic()
/llvm-project/clang/lib/AST/Interp/
H A DDescriptor.h
H A DDescriptor.cpp
H A DPointer.h
/llvm-project/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.asgn/
H A Dnullptr.pass.cpp23 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 Dnull.pass.cpp22 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 Dmove.pass.cpp35 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()
98 template <bool IsArray>
100 typedef typename std::conditional<IsArray, int[], int>::type VT; in test_sfinae()
H A Dmove_convert.pass.cpp194 template <bool IsArray>
196 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_sfinae()
283 template <bool IsArray>
285 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_noexcept()
308 template <bool IsArray>
310 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_deleter_value_category()
/llvm-project/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/
H A Dpointer_deleter.pass.cpp54 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()
260 typedef typename std::conditional<IsArray, int[], int>::type VT2; in test_basic()
307 template <bool IsArray>
310 typedef typename std::conditional<!IsArray, A, A[]>::type VT; in test_nullptr()
H A Dmove_convert.pass.cpp96 template <bool IsArray>
98 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_sfinae()
144 template <bool IsArray>
146 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_noexcept()
169 template <bool IsArray>
171 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_deleter_value_category()
H A Dmove.pass.cpp83 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()
184 template <bool IsArray>
186 typedef typename std::conditional<!IsArray, A, A[]>::type VT; in test_sink3()
H A Dpointer.pass.cpp39 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()
/llvm-project/clang-tools-extra/clang-tidy/utils/
H A DDesignatedInitializers.cpp41 IsArray = true; in AggregateDesignatorNames()
63 if (IsArray) in next()
73 if (IsArray) { in append()
105 bool IsArray = false; member in clang::tidy::utils::__anoncad276e00111::AggregateDesignatorNames
/llvm-project/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/
H A Dpointer_type.pass.cpp33 template <bool IsArray>
35 typedef typename std::conditional<IsArray, int[], int>::type VT; in test_basic()
/llvm-project/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.observers/
H A Dexplicit_bool.pass.cpp34 template <bool IsArray>
36 typedef typename std::conditional<IsArray, int[], int>::type VT; in test_basic()
H A Dget.pass.cpp
H A Dget_deleter.pass.cpp30 template <bool IsArray>
32 typedef typename std::conditional<IsArray, int[], int>::type VT; in test_basic()
/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCheckPlacementNew.cpp37 bool &IsArray) const;
72 bool &IsArray) const { in getExtentSizeOfNewTarget()
78 IsArray = false; in getExtentSizeOfNewTarget()
80 IsArray = true; in getExtentSizeOfNewTarget()
/llvm-project/clang/lib/AST/
H A DExprCXX.cpp247 CXXNewExprBits.IsArray = ArraySize.has_value(); in CXXNewExpr()
283 CXXNewExpr::CXXNewExpr(EmptyShell Empty, bool IsArray,
286 CXXNewExprBits.IsArray = IsArray; in CXXNewExpr()
299 bool IsArray = ArraySize.has_value(); in Create()
305 IsArray + HasInit + NumPlacementArgs, IsParenTypeId), in Create()
314 CXXNewExpr *CXXNewExpr::CreateEmpty(const ASTContext &Ctx, bool IsArray,
319 IsArray + HasInit + NumPlacementArgs, IsParenTypeId), in CreateEmpty()
322 CXXNewExpr(EmptyShell(), IsArray, NumPlacementArgs, IsParenTypeId); in CreateEmpty()
284 CXXNewExpr(EmptyShell Empty,bool IsArray,unsigned NumPlacementArgs,bool IsParenTypeId) CXXNewExpr() argument
300 bool IsArray = ArraySize.has_value(); Create() local
315 CreateEmpty(const ASTContext & Ctx,bool IsArray,bool HasInit,unsigned NumPlacementArgs,bool IsParenTypeId) CreateEmpty() argument
/llvm-project/flang/include/flang/Lower/
H A DBoxAnalyzer.h231 return det && det->IsArray(); in symIsArray()
237 return det && det->IsArray() && det->shape().IsExplicitShape(); in isExplicitShape()
/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVScope.h37 IsArray, enumerator
160 KIND(LVScopeKind, IsArray);
/llvm-project/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h2109 bool IsArray; // new[] ? in printLeft()
2114 InitList(InitList_), IsGlobal(IsGlobal_), IsArray(IsArray_) {}
2117 F(ExprList, Type, InitList, IsGlobal, IsArray, getPrecedence());
2124 if (IsArray) in match()
2144 bool IsArray; in PrefixExpr()
2149 IsArray(IsArray_) {}
2152 F(Op, IsGlobal, IsArray, getPrecedence()); in printLeft()
2159 if (IsArray)
2270 bool IsArray;
2273 : Node(KBracedExpr), Elem(Elem_), Init(Init_), IsArray(IsArray in printLeft()
2081 bool IsArray; // new[] ? global() variable
2116 bool IsArray; global() variable
2239 bool IsArray; global() variable
[all...]
/llvm-project/libcxxabi/src/demangle/
H A DItaniumDemangle.h2109 bool IsArray; // new[] ? in printLeft()
2114 InitList(InitList_), IsGlobal(IsGlobal_), IsArray(IsArray_) {}
2117 F(ExprList, Type, InitList, IsGlobal, IsArray, getPrecedence()); variable
2124 if (IsArray) in match()
2144 bool IsArray; in PrefixExpr()
2149 IsArray(IsArray_) {} in match()
2152 F(Op, IsGlobal, IsArray, getPrecedence()); in printLeft()
2159 if (IsArray)
2270 bool IsArray; in match()
2273 : Node(KBracedExpr), Elem(Elem_), Init(Init_), IsArray(IsArray in printLeft()
2082 bool IsArray; // new[] ? global() variable
2240 bool IsArray; global() variable
[all...]

12