Home
last modified time | relevance | path

Searched defs:InitList (Results 1 – 25 of 65) sorted by relevance

123

/external/clang/test/SemaCXX/
Ddelete.cpp91 struct InitList { struct
92 base *p, *p2 = nullptr, *p3{nullptr}, *p4;
93InitList(unsigned c) : p(new derived[c]), p4(nullptr) {} // expected-note {{allocated with 'new[]… in InitList() function
94InitList(unsigned c, unsigned) : p{new derived[c]}, p4{nullptr} {} // expected-note {{allocated wi… in InitList() argument
95 ~InitList() { in ~InitList()
/external/llvm-project/clang/test/SemaCXX/
Ddelete.cpp91 struct InitList { struct
92 base *p, *p2 = nullptr, *p3{nullptr}, *p4;
93InitList(unsigned c) : p(new derived[c]), p4(nullptr) {} // expected-note {{allocated with 'new[]… in InitList() argument
94InitList(unsigned c, unsigned) : p{new derived[c]}, p4{nullptr} {} // expected-note {{allocated wi… in InitList() argument
95 ~InitList() { in ~InitList()
/external/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/
Din_place_type_init_list_args.pass.cpp37 struct InitList { struct
39 constexpr InitList(std::initializer_list<int> il) : size(il.size()) {} in InitList() function
Din_place_index_init_list_args.pass.cpp37 struct InitList { struct
39 constexpr InitList(std::initializer_list<int> il) : size(il.size()) {} in InitList() argument
/external/llvm-project/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/
Din_place_type_init_list_args.pass.cpp34 struct InitList { struct
36 constexpr InitList(std::initializer_list<int> il) : size(il.size()) {} in InitList() argument
Din_place_index_init_list_args.pass.cpp34 struct InitList { struct
36 constexpr InitList(std::initializer_list<int> il) : size(il.size()) {} in InitList() argument
/external/libcxx/test/std/utilities/variant/variant.variant/variant.mod/
Demplace_type_init_list_args.pass.cpp37 struct InitList { struct
39 constexpr InitList(std::initializer_list<int> il) : size(il.size()) {} in InitList() argument
Demplace_index_init_list_args.pass.cpp37 struct InitList { struct
39 constexpr InitList(std::initializer_list<int> il) : size(il.size()) {} in InitList() argument
/external/llvm-project/libcxx/test/std/utilities/variant/variant.variant/variant.mod/
Demplace_index_init_list_args.pass.cpp34 struct InitList { struct
36 constexpr InitList(std::initializer_list<int> il) : size(il.size()) {} in InitList() function
Demplace_type_init_list_args.pass.cpp34 struct InitList { struct
36 constexpr InitList(std::initializer_list<int> il) : size(il.size()) {} in InitList() argument
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorInitializer.h29 typename Initializer<Derived, N - 1>::InitList> InitList; typedef
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerGlobalDtors.cpp67 const ConstantArray *InitList = dyn_cast<ConstantArray>(GV->getInitializer()); in runOnModule() local
/external/llvm-project/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerGlobalDtors.cpp67 const ConstantArray *InitList = dyn_cast<ConstantArray>(GV->getInitializer()); in runOnModule() local
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseDefaultMemberInitCheck.cpp144 auto *InitList = dyn_cast<InitListExpr>(E); in getInitializer() local
/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DExprSequence.cpp113 } else if (const auto *InitList = dyn_cast<InitListExpr>(Parent)) { in getSequenceSuccessor() local
/external/clang/lib/Sema/
DSemaInit.cpp3679 InitListExpr *InitList, in TryReferenceListInitialization()
3753 InitListExpr *InitList, in TryListInitialization()
4450 InitListExpr *InitList) { in TryValueInitialization()
4997 if (InitListExpr *InitList = dyn_cast_or_null<InitListExpr>(Initializer)) { in InitializeFrom() local
6658 InitListExpr *InitList = cast<InitListExpr>(CurInit.get()); in Perform() local
6704 InitListExpr *InitList = cast<InitListExpr>(Args[0]); in Perform() local
7009 InitListExpr *InitList) { in diagnoseListInit()
7243 auto *InitList = dyn_cast<InitListExpr>(Args[0]); in Diagnose() local
7281 InitListExpr *InitList = cast<InitListExpr>(Args[0]); in Diagnose() local
7405 InitListExpr *InitList = cast<InitListExpr>(Args[0]); in Diagnose() local
/external/llvm-project/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
Dp5.cpp68 constexpr S InitList(int a) { return { a, ng }; }; // expected-error {{never produces}} expected-no… in InitList() function
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
Dp5.cpp68 constexpr S InitList(int a) { return { a, ng }; }; // expected-error {{never produces}} expected-no… in InitList() function
/external/llvm-project/llvm/tools/bugpoint/
DExtractFunction.cpp254 ConstantArray *InitList = dyn_cast<ConstantArray>(GV->getInitializer()); in SplitStaticCtorDtor() local
/external/llvm/tools/bugpoint/
DExtractFunction.cpp258 ConstantArray *InitList = dyn_cast<ConstantArray>(GV->getInitializer()); in SplitStaticCtorDtor() local
/external/clang/include/clang/Sema/
DInitialization.h512 bool InitList) { in CreateCStyleCast()
522 bool InitList) { in CreateFunctionalCast()
/external/llvm-project/clang/lib/Sema/
DSemaInit.cpp4224 InitListExpr *InitList, in TryReferenceListInitialization()
4296 InitListExpr *InitList, in TryListInitialization()
5050 InitListExpr *InitList) { in TryValueInitialization()
5683 if (InitListExpr *InitList = dyn_cast_or_null<InitListExpr>(Initializer)) { in InitializeFrom() local
8374 InitListExpr *InitList = cast<InitListExpr>(CurInit.get()); in Perform() local
8423 InitListExpr *InitList = cast<InitListExpr>(Args[0]); in Perform() local
8847 InitListExpr *InitList) { in diagnoseListInit()
9153 auto *InitList = dyn_cast<InitListExpr>(Args[0]); in Diagnose() local
9196 InitListExpr *InitList = cast<InitListExpr>(Args[0]); in Diagnose() local
9325 InitListExpr *InitList = cast<InitListExpr>(Args[0]); in Diagnose() local
/external/llvm/lib/CodeGen/
DGlobalMerge.cpp490 const ConstantArray *InitList = cast<ConstantArray>(GV->getInitializer()); in collectUsedGlobalVariables() local
/external/llvm-project/clang/include/clang/Sema/
DInitialization.h650 bool InitList) { in CreateCStyleCast()
660 bool InitList) { in CreateFunctionalCast()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DGlobalMerge.cpp572 const ConstantArray *InitList = cast<ConstantArray>(GV->getInitializer()); in collectUsedGlobalVariables() local

123