Home
last modified time | relevance | path

Searched refs:NonLiteral (Results 1 – 25 of 197) sorted by relevance

12345678

/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
H A Dp3.cpp12 struct NonLiteral { // expected-note 3{{no constexpr constructors}}
13 NonLiteral() {}
14 NonLiteral(int) {}
30 struct T : SS, NonLiteral {
42 …constexpr NonLiteral NonLiteralReturn() const { return {}; } // expected-error {{constexpr functio…
48 typedef NonLiteral F() const;
53 typedef int G(NonLiteral) const;
139NonLiteral nl; // expected-error {{variable of non-literal type 'NonLiteral' cannot be defined in …
186 NonLiteral nl;
187 constexpr NonLiteral &ExternNonLiteralVarDecl() {
[all …]
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
H A Dp3.cpp13 struct NonLiteral { // expected-note 3{{no constexpr constructors}} struct
14 NonLiteral() {} in NonLiteral() function
15 NonLiteral(int) {} in NonLiteral() function
34 struct T : SS, NonLiteral {
55 …constexpr NonLiteral NonLiteralReturn() const { return {}; } // expected-error {{constexpr functio… in NonLiteralReturn()
64 typedef NonLiteral F() const;
69 typedef int G(NonLiteral) const;
174NonLiteral nl; // expected-error {{variable of non-literal type 'NonLiteral' cannot be defined in … in DisallowedStmtsCXX14_4()
224 NonLiteral nl;
225 constexpr NonLiteral &ExternNonLiteralVarDecl() { in ExternNonLiteralVarDecl()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
H A Dp3.cpp13 struct NonLiteral { // expected-note 3{{no constexpr constructors}} struct
14 NonLiteral() {} in NonLiteral() function
15 NonLiteral(int) {} in NonLiteral() function
34 struct T : SS, NonLiteral {
55 …constexpr NonLiteral NonLiteralReturn() const { return {}; } // expected-error {{constexpr functio… in NonLiteralReturn()
64 typedef NonLiteral F() const;
69 typedef int G(NonLiteral) const;
174NonLiteral nl; // expected-error {{variable of non-literal type 'NonLiteral' cannot be defined in … in DisallowedStmtsCXX14_4()
224 NonLiteral nl;
225 constexpr NonLiteral &ExternNonLiteralVarDecl() { in ExternNonLiteralVarDecl()
[all …]
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
H A Dp3.cpp13 struct NonLiteral { // expected-note 3{{no constexpr constructors}} struct
14 NonLiteral() {} in NonLiteral() function
15 NonLiteral(int) {} in NonLiteral() argument
34 struct T : SS, NonLiteral {
55 …constexpr NonLiteral NonLiteralReturn() const { return {}; } // expected-error {{constexpr functio… in NonLiteralReturn()
64 typedef NonLiteral F() const;
69 typedef int G(NonLiteral) const;
174NonLiteral nl; // expected-error {{variable of non-literal type 'NonLiteral' cannot be defined in … in DisallowedStmtsCXX14_4()
224 NonLiteral nl;
225 constexpr NonLiteral &ExternNonLiteralVarDecl() { in ExternNonLiteralVarDecl()
[all …]
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
H A Dp3.cpp13 struct NonLiteral { // expected-note 3{{no constexpr constructors}} struct
14 NonLiteral() {} in NonLiteral() argument
15 NonLiteral(int) {} in NonLiteral() argument
34 struct T : SS, NonLiteral {
55 …constexpr NonLiteral NonLiteralReturn() const { return {}; } // expected-error {{constexpr functio… in NonLiteralReturn()
64 typedef NonLiteral F() const;
69 typedef int G(NonLiteral) const;
174NonLiteral nl; // expected-error {{variable of non-literal type 'NonLiteral' cannot be defined in … in DisallowedStmtsCXX14_4()
224 NonLiteral nl;
225 constexpr NonLiteral &ExternNonLiteralVarDecl() { in ExternNonLiteralVarDecl()
[all …]
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
H A Dp3.cpp13 struct NonLiteral { // expected-note 3{{no constexpr constructors}} struct
14 NonLiteral() {} in NonLiteral() function
15 NonLiteral(int) {} in NonLiteral() function
34 struct T : SS, NonLiteral {
55 …constexpr NonLiteral NonLiteralReturn() const { return {}; } // expected-error {{constexpr functio… in NonLiteralReturn()
64 typedef NonLiteral F() const;
69 typedef int G(NonLiteral) const;
174NonLiteral nl; // expected-error {{variable of non-literal type 'NonLiteral' cannot be defined in … in DisallowedStmtsCXX14_4()
224 NonLiteral nl;
225 constexpr NonLiteral &ExternNonLiteralVarDecl() { in ExternNonLiteralVarDecl()
[all …]
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
H A Dp3.cpp13 struct NonLiteral { // expected-note 3{{no constexpr constructors}} struct
14 NonLiteral() {} in NonLiteral() argument
15 NonLiteral(int) {} in NonLiteral() argument
34 struct T : SS, NonLiteral {
55 …constexpr NonLiteral NonLiteralReturn() const { return {}; } // expected-error {{constexpr functio… in NonLiteralReturn()
64 typedef NonLiteral F() const;
69 typedef int G(NonLiteral) const;
174NonLiteral nl; // expected-error {{variable of non-literal type 'NonLiteral' cannot be defined in … in DisallowedStmtsCXX14_4()
224 NonLiteral nl;
225 constexpr NonLiteral &ExternNonLiteralVarDecl() { in ExternNonLiteralVarDecl()
[all …]
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
H A Dp3.cpp13 struct NonLiteral { // expected-note 3{{no constexpr constructors}} struct
14 NonLiteral() {} in NonLiteral() argument
15 NonLiteral(int) {} in NonLiteral() argument
34 struct T : SS, NonLiteral {
55 …constexpr NonLiteral NonLiteralReturn() const { return {}; } // expected-error {{constexpr functio… in NonLiteralReturn()
64 typedef NonLiteral F() const;
69 typedef int G(NonLiteral) const;
174NonLiteral nl; // expected-error {{variable of non-literal type 'NonLiteral' cannot be defined in … in DisallowedStmtsCXX14_4()
224 NonLiteral nl;
225 constexpr NonLiteral &ExternNonLiteralVarDecl() { in ExternNonLiteralVarDecl()
[all …]
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
H A Dp3.cpp13 struct NonLiteral { // expected-note 3{{no constexpr constructors}} struct
14 NonLiteral() {} in NonLiteral() argument
15 NonLiteral(int) {} in NonLiteral() function
34 struct T : SS, NonLiteral {
55 …constexpr NonLiteral NonLiteralReturn() const { return {}; } // expected-error {{constexpr functio… in NonLiteralReturn()
64 typedef NonLiteral F() const;
69 typedef int G(NonLiteral) const;
174NonLiteral nl; // expected-error {{variable of non-literal type 'NonLiteral' cannot be defined in … in DisallowedStmtsCXX14_4()
224 NonLiteral nl;
225 constexpr NonLiteral &ExternNonLiteralVarDecl() { in ExternNonLiteralVarDecl()
[all …]
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
H A Dp3.cpp13 struct NonLiteral { // expected-note 3{{no constexpr constructors}} struct
14 NonLiteral() {} in NonLiteral() argument
15 NonLiteral(int) {} in NonLiteral() argument
34 struct T : SS, NonLiteral {
55 …constexpr NonLiteral NonLiteralReturn() const { return {}; } // expected-error {{constexpr functio… in NonLiteralReturn()
64 typedef NonLiteral F() const;
69 typedef int G(NonLiteral) const;
174NonLiteral nl; // expected-error {{variable of non-literal type 'NonLiteral' cannot be defined in … in DisallowedStmtsCXX14_4()
224 NonLiteral nl;
225 constexpr NonLiteral &ExternNonLiteralVarDecl() { in ExternNonLiteralVarDecl()
[all …]
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
H A Dp3.cpp13 struct NonLiteral { // expected-note 3{{no constexpr constructors}} struct
14 NonLiteral() {} in NonLiteral() argument
15 NonLiteral(int) {} in NonLiteral() argument
34 struct T : SS, NonLiteral {
55 …constexpr NonLiteral NonLiteralReturn() const { return {}; } // expected-error {{constexpr functio… in NonLiteralReturn()
61 typedef NonLiteral F() const;
66 typedef int G(NonLiteral) const;
170NonLiteral nl; // expected-error {{variable of non-literal type 'NonLiteral' cannot be defined in … in DisallowedStmtsCXX1Y_4()
217 NonLiteral nl;
218 constexpr NonLiteral &ExternNonLiteralVarDecl() { in ExternNonLiteralVarDecl()
[all …]
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
H A Dp3.cpp13 struct NonLiteral { // expected-note 3{{no constexpr constructors}} struct
14 NonLiteral() {} in NonLiteral() function
15 NonLiteral(int) {} in NonLiteral() argument
34 struct T : SS, NonLiteral {
55 …constexpr NonLiteral NonLiteralReturn() const { return {}; } // expected-error {{constexpr functio… in NonLiteralReturn()
64 typedef NonLiteral F() const;
69 typedef int G(NonLiteral) const;
174NonLiteral nl; // expected-error {{variable of non-literal type 'NonLiteral' cannot be defined in … in DisallowedStmtsCXX14_4()
224 NonLiteral nl;
225 constexpr NonLiteral &ExternNonLiteralVarDecl() { in ExternNonLiteralVarDecl()
[all …]
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
H A Dp3.cpp13 struct NonLiteral { // expected-note 3{{no constexpr constructors}} struct
14 NonLiteral() {} in NonLiteral() argument
15 NonLiteral(int) {} in NonLiteral() argument
34 struct T : SS, NonLiteral {
55 …constexpr NonLiteral NonLiteralReturn() const { return {}; } // expected-error {{constexpr functio… in NonLiteralReturn()
64 typedef NonLiteral F() const;
69 typedef int G(NonLiteral) const;
174NonLiteral nl; // expected-error {{variable of non-literal type 'NonLiteral' cannot be defined in … in DisallowedStmtsCXX14_4()
224 NonLiteral nl;
225 constexpr NonLiteral &ExternNonLiteralVarDecl() { in ExternNonLiteralVarDecl()
[all …]
/dports/devel/llvm13/llvm-project-13.0.1.src/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
H A Dp3.cpp13 struct NonLiteral { // expected-note 3{{no constexpr constructors}} struct
14 NonLiteral() {} in NonLiteral() function
15 NonLiteral(int) {} in NonLiteral() function
34 struct T : SS, NonLiteral {
55 …constexpr NonLiteral NonLiteralReturn() const { return {}; } // expected-error {{constexpr functio… in NonLiteralReturn()
64 typedef NonLiteral F() const;
69 typedef int G(NonLiteral) const;
174NonLiteral nl; // expected-error {{variable of non-literal type 'NonLiteral' cannot be defined in … in DisallowedStmtsCXX14_4()
224 NonLiteral nl;
225 constexpr NonLiteral &ExternNonLiteralVarDecl() { in ExternNonLiteralVarDecl()
[all …]
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
H A Dp3.cpp13 struct NonLiteral { // expected-note 3{{no constexpr constructors}} struct
14 NonLiteral() {} in NonLiteral() function
15 NonLiteral(int) {} in NonLiteral() argument
31 struct T : SS, NonLiteral {
43 …constexpr NonLiteral NonLiteralReturn() const { return {}; } // expected-error {{constexpr functio… in NonLiteralReturn()
49 typedef NonLiteral F() const;
54 typedef int G(NonLiteral) const;
158NonLiteral nl; // expected-error {{variable of non-literal type 'NonLiteral' cannot be defined in … in DisallowedStmtsCXX1Y_4()
205 NonLiteral nl;
206 constexpr NonLiteral &ExternNonLiteralVarDecl() { in ExternNonLiteralVarDecl()
[all …]
/dports/lang/clang-mesa/clang-13.0.1.src/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
H A Dp3.cpp13 struct NonLiteral { // expected-note 3{{no constexpr constructors}} struct
14 NonLiteral() {} in NonLiteral() argument
15 NonLiteral(int) {} in NonLiteral() argument
34 struct T : SS, NonLiteral {
55 …constexpr NonLiteral NonLiteralReturn() const { return {}; } // expected-error {{constexpr functio… in NonLiteralReturn()
64 typedef NonLiteral F() const;
69 typedef int G(NonLiteral) const;
174NonLiteral nl; // expected-error {{variable of non-literal type 'NonLiteral' cannot be defined in … in DisallowedStmtsCXX14_4()
224 NonLiteral nl;
225 constexpr NonLiteral &ExternNonLiteralVarDecl() { in ExternNonLiteralVarDecl()
[all …]
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/g++.dg/ext/
H A Dis_literal_type1.C4 struct NonLiteral { struct
5 NonLiteral();
6 ~NonLiteral();
9 static_assert(__is_literal_type(NonLiteral&), "Error");
10 static_assert(__is_literal_type(NonLiteral&&), "Error");
/dports/lang/gcc6-aux/gcc-6-20180516/gcc/testsuite/g++.dg/ext/
H A Dis_literal_type1.C4 struct NonLiteral { struct
5 NonLiteral();
6 ~NonLiteral();
9 static_assert(__is_literal_type(NonLiteral&), "Error");
10 static_assert(__is_literal_type(NonLiteral&&), "Error");
/dports/lang/gcc8/gcc-8.5.0/gcc/testsuite/g++.dg/ext/
H A Dis_literal_type1.C4 struct NonLiteral { struct
5 NonLiteral();
6 ~NonLiteral();
9 static_assert(__is_literal_type(NonLiteral&), "Error");
10 static_assert(__is_literal_type(NonLiteral&&), "Error");
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/gcc/testsuite/g++.dg/ext/
H A Dis_literal_type1.C4 struct NonLiteral { struct
5 NonLiteral();
6 ~NonLiteral();
9 static_assert(__is_literal_type(NonLiteral&), "Error");
10 static_assert(__is_literal_type(NonLiteral&&), "Error");
/dports/devel/avr-gcc/gcc-10.2.0/gcc/testsuite/g++.dg/ext/
H A Dis_literal_type1.C4 struct NonLiteral { struct
5 NonLiteral();
6 ~NonLiteral();
9 static_assert(__is_literal_type(NonLiteral&), "Error");
10 static_assert(__is_literal_type(NonLiteral&&), "Error");
/dports/devel/riscv64-gcc/gcc-8.3.0/gcc/testsuite/g++.dg/ext/
H A Dis_literal_type1.C4 struct NonLiteral { struct
5 NonLiteral();
6 ~NonLiteral();
9 static_assert(__is_literal_type(NonLiteral&), "Error");
10 static_assert(__is_literal_type(NonLiteral&&), "Error");
/dports/lang/gnat_util/gcc-6-20180516/gcc/testsuite/g++.dg/ext/
H A Dis_literal_type1.C4 struct NonLiteral { struct
5 NonLiteral();
6 ~NonLiteral();
9 static_assert(__is_literal_type(NonLiteral&), "Error");
10 static_assert(__is_literal_type(NonLiteral&&), "Error");
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/testsuite/g++.dg/ext/
H A Dis_literal_type1.C4 struct NonLiteral { struct
5 NonLiteral();
6 ~NonLiteral();
9 static_assert(__is_literal_type(NonLiteral&), "Error");
10 static_assert(__is_literal_type(NonLiteral&&), "Error");
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/testsuite/g++.dg/ext/
H A Dis_literal_type1.C4 struct NonLiteral { struct
5 NonLiteral();
6 ~NonLiteral();
9 static_assert(__is_literal_type(NonLiteral&), "Error");
10 static_assert(__is_literal_type(NonLiteral&&), "Error");

12345678