/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/test/SemaCXX/ |
H A D | constant-expression-cxx11.cpp | 201 constexpr const int &MaybeReturnJunk(bool b, const int a) { // expected-note 2{{declared here}} in MaybeReturnJunk() function 204 static_assert(MaybeReturnJunk(false, 0) == 42, ""); // ok 205 …constexpr int a = MaybeReturnJunk(true, 0); // expected-error {{constant expression}} expected-not… 214 return MaybeReturnJunk(true, n); // expected-note {{read of variable whose lifetime has ended}} in InternalReturnJunk()
|
/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/test/SemaCXX/ |
H A D | constant-expression-cxx11.cpp | 201 constexpr const int &MaybeReturnJunk(bool b, const int a) { // expected-note 2{{declared here}} in MaybeReturnJunk() function 204 static_assert(MaybeReturnJunk(false, 0) == 42, ""); // ok 205 …constexpr int a = MaybeReturnJunk(true, 0); // expected-error {{constant expression}} expected-not… 214 return MaybeReturnJunk(true, n); // expected-note {{read of variable whose lifetime has ended}} in InternalReturnJunk()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/test/SemaCXX/ |
H A D | constant-expression-cxx11.cpp | 220 constexpr const int &MaybeReturnJunk(bool b, const int a) { in MaybeReturnJunk() function 223 static_assert(MaybeReturnJunk(false, 0) == 42, ""); // ok 224 …constexpr int a = MaybeReturnJunk(true, 0); // expected-error {{constant expression}} expected-not… 233 return MaybeReturnJunk(true, n); // expected-note {{read of object outside its lifetime}} in InternalReturnJunk()
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/test/SemaCXX/ |
H A D | constant-expression-cxx11.cpp | 220 constexpr const int &MaybeReturnJunk(bool b, const int a) { // expected-note 2{{declared here}} in MaybeReturnJunk() function 223 static_assert(MaybeReturnJunk(false, 0) == 42, ""); // ok 224 …constexpr int a = MaybeReturnJunk(true, 0); // expected-error {{constant expression}} expected-not… 233 return MaybeReturnJunk(true, n); // expected-note {{read of variable whose lifetime has ended}} in InternalReturnJunk()
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/test/SemaCXX/ |
H A D | constant-expression-cxx11.cpp | 223 constexpr const int &MaybeReturnJunk(bool b, const int a) { in MaybeReturnJunk() function 226 static_assert(MaybeReturnJunk(false, 0) == 42, ""); // ok 227 …constexpr int a = MaybeReturnJunk(true, 0); // expected-error {{constant expression}} expected-not… 236 return MaybeReturnJunk(true, n); // expected-note {{read of object outside its lifetime}} in InternalReturnJunk()
|
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/test/SemaCXX/ |
H A D | constant-expression-cxx11.cpp | 220 constexpr const int &MaybeReturnJunk(bool b, const int a) { in MaybeReturnJunk() function 223 static_assert(MaybeReturnJunk(false, 0) == 42, ""); // ok 224 …constexpr int a = MaybeReturnJunk(true, 0); // expected-error {{constant expression}} expected-not… 233 return MaybeReturnJunk(true, n); // expected-note {{read of object outside its lifetime}} in InternalReturnJunk()
|
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/test/SemaCXX/ |
H A D | constant-expression-cxx11.cpp | 220 constexpr const int &MaybeReturnJunk(bool b, const int a) { // expected-note 2{{declared here}} in MaybeReturnJunk() function 223 static_assert(MaybeReturnJunk(false, 0) == 42, ""); // ok 224 …constexpr int a = MaybeReturnJunk(true, 0); // expected-error {{constant expression}} expected-not… 233 return MaybeReturnJunk(true, n); // expected-note {{read of variable whose lifetime has ended}} in InternalReturnJunk()
|
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/test/SemaCXX/ |
H A D | constant-expression-cxx11.cpp | 220 constexpr const int &MaybeReturnJunk(bool b, const int a) { // expected-note 2{{declared here}} in MaybeReturnJunk() function 223 static_assert(MaybeReturnJunk(false, 0) == 42, ""); // ok 224 …constexpr int a = MaybeReturnJunk(true, 0); // expected-error {{constant expression}} expected-not… 233 return MaybeReturnJunk(true, n); // expected-note {{read of variable whose lifetime has ended}} in InternalReturnJunk()
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/test/SemaCXX/ |
H A D | constant-expression-cxx11.cpp | 220 constexpr const int &MaybeReturnJunk(bool b, const int a) { // expected-note 2{{declared here}} in MaybeReturnJunk() function 223 static_assert(MaybeReturnJunk(false, 0) == 42, ""); // ok 224 …constexpr int a = MaybeReturnJunk(true, 0); // expected-error {{constant expression}} expected-not… 233 return MaybeReturnJunk(true, n); // expected-note {{read of variable whose lifetime has ended}} in InternalReturnJunk()
|
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/test/SemaCXX/ |
H A D | constant-expression-cxx11.cpp | 220 constexpr const int &MaybeReturnJunk(bool b, const int a) { // expected-note 2{{declared here}} in MaybeReturnJunk() function 223 static_assert(MaybeReturnJunk(false, 0) == 42, ""); // ok 224 …constexpr int a = MaybeReturnJunk(true, 0); // expected-error {{constant expression}} expected-not… 233 return MaybeReturnJunk(true, n); // expected-note {{read of variable whose lifetime has ended}} in InternalReturnJunk()
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/test/SemaCXX/ |
H A D | constant-expression-cxx11.cpp | 223 constexpr const int &MaybeReturnJunk(bool b, const int a) { in MaybeReturnJunk() function 226 static_assert(MaybeReturnJunk(false, 0) == 42, ""); // ok 227 …constexpr int a = MaybeReturnJunk(true, 0); // expected-error {{constant expression}} expected-not… 236 return MaybeReturnJunk(true, n); // expected-note {{read of object outside its lifetime}} in InternalReturnJunk()
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/test/SemaCXX/ |
H A D | constant-expression-cxx11.cpp | 223 constexpr const int &MaybeReturnJunk(bool b, const int a) { in MaybeReturnJunk() function 226 static_assert(MaybeReturnJunk(false, 0) == 42, ""); // ok 227 …constexpr int a = MaybeReturnJunk(true, 0); // expected-error {{constant expression}} expected-not… 236 return MaybeReturnJunk(true, n); // expected-note {{read of object outside its lifetime}} in InternalReturnJunk()
|
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang/test/SemaCXX/ |
H A D | constant-expression-cxx11.cpp | 223 constexpr const int &MaybeReturnJunk(bool b, const int a) { in MaybeReturnJunk() function 226 static_assert(MaybeReturnJunk(false, 0) == 42, ""); // ok 227 …constexpr int a = MaybeReturnJunk(true, 0); // expected-error {{constant expression}} expected-not… 236 return MaybeReturnJunk(true, n); // expected-note {{read of object outside its lifetime}} in InternalReturnJunk()
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang/test/SemaCXX/ |
H A D | constant-expression-cxx11.cpp | 220 constexpr const int &MaybeReturnJunk(bool b, const int a) { in MaybeReturnJunk() function 223 static_assert(MaybeReturnJunk(false, 0) == 42, ""); // ok 224 …constexpr int a = MaybeReturnJunk(true, 0); // expected-error {{constant expression}} expected-not… 233 return MaybeReturnJunk(true, n); // expected-note {{read of object outside its lifetime}} in InternalReturnJunk()
|
/dports/devel/llvm13/llvm-project-13.0.1.src/clang/test/SemaCXX/ |
H A D | constant-expression-cxx11.cpp | 223 constexpr const int &MaybeReturnJunk(bool b, const int a) { in MaybeReturnJunk() function 226 static_assert(MaybeReturnJunk(false, 0) == 42, ""); // ok 227 …constexpr int a = MaybeReturnJunk(true, 0); // expected-error {{constant expression}} expected-not… 236 return MaybeReturnJunk(true, n); // expected-note {{read of object outside its lifetime}} in InternalReturnJunk()
|
/dports/lang/clang-mesa/clang-13.0.1.src/test/SemaCXX/ |
H A D | constant-expression-cxx11.cpp | 223 constexpr const int &MaybeReturnJunk(bool b, const int a) { in MaybeReturnJunk() function 226 static_assert(MaybeReturnJunk(false, 0) == 42, ""); // ok 227 …constexpr int a = MaybeReturnJunk(true, 0); // expected-error {{constant expression}} expected-not… 236 return MaybeReturnJunk(true, n); // expected-note {{read of object outside its lifetime}} in InternalReturnJunk()
|