/dports/devel/corrade/corrade-2020.06/src/Corrade/Containers/Test/ |
H A D | ReferenceTest.cpp | 34 struct IntRef { struct 35 constexpr IntRef(const int& a): a{&a} {} in IntRef() function 46 template<> struct ReferenceConverter<const int, IntRef> { 47 constexpr static Reference<const int> from(IntRef other) { in from() 51 constexpr static IntRef to(Reference<const int> other) { in to() 52 return IntRef{*other}; in to() 230 IntRef b = a; in convert() 236 IntRef d = c; /* implicit conversion *is* allowed */ in convert() 239 constexpr IntRef cb = Int; in convert() 248 IntRef cd = cc; in convert() [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/test/SemaCXX/ |
H A D | ignored-reference-qualifiers-disabled.cpp | 8 typedef int& IntRef; typedef 10 const IntRef ref_c(); // qual-warning{{'const' qualifier on reference type 'IntRef' (aka 'int &') h… 11 volatile IntRef ref_v(); // qual-warning{{'volatile' qualifier on reference type 'IntRef' (aka 'int… 12 const volatile IntRef ref_cv(); // qual-warning{{'const' qualifier on reference type 'IntRef' (aka …
|
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/test/SemaTemplate/ |
H A D | temp_arg_nontype_cxx20.cpp | 29 template<int &> struct IntRef {}; struct 30 using IPn = IntRef<*(&n + 1)>; // expected-error {{not a constant expression}} expected-note {{dere… 31 using IPn = IntRef<*(&n + 1)>; // expected-error {{not a constant expression}} expected-note {{dere… 33 using IP2 = IntRef<s.n[2]>; // FIXME expected-error {{refers to subobject}} 34 using IP2 = IntRef<*(s.n + 2)>; // FIXME expected-error {{refers to subobject}} 36 using IP3 = IntRef<s.n[3]>; // expected-error {{not a constant expression}} expected-note {{derefer… 37 using IP3 = IntRef<*(s.n + 3)>; // expected-error {{not a constant expression}} expected-note {{der…
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/test/SemaTemplate/ |
H A D | temp_arg_nontype_cxx20.cpp | 29 template<int &> struct IntRef {}; struct 30 using IPn = IntRef<*(&n + 1)>; // expected-error {{not a constant expression}} expected-note {{dere… 31 using IPn = IntRef<*(&n + 1)>; // expected-error {{not a constant expression}} expected-note {{dere… 33 using IP2 = IntRef<s.n[2]>; // FIXME expected-error {{refers to subobject}} 34 using IP2 = IntRef<*(s.n + 2)>; // FIXME expected-error {{refers to subobject}} 36 using IP3 = IntRef<s.n[3]>; // expected-error {{not a constant expression}} expected-note {{derefer… 37 using IP3 = IntRef<*(s.n + 3)>; // expected-error {{not a constant expression}} expected-note {{der…
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang/test/SemaTemplate/ |
H A D | temp_arg_nontype_cxx20.cpp | 29 template<int &> struct IntRef {}; struct 30 using IPn = IntRef<*(&n + 1)>; // expected-error {{not a constant expression}} expected-note {{dere… 31 using IPn = IntRef<*(&n + 1)>; // expected-error {{not a constant expression}} expected-note {{dere… 33 using IP2 = IntRef<s.n[2]>; // FIXME expected-error {{refers to subobject}} 34 using IP2 = IntRef<*(s.n + 2)>; // FIXME expected-error {{refers to subobject}} 36 using IP3 = IntRef<s.n[3]>; // expected-error {{not a constant expression}} expected-note {{derefer… 37 using IP3 = IntRef<*(s.n + 3)>; // expected-error {{not a constant expression}} expected-note {{der…
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/test/SemaTemplate/ |
H A D | temp_arg_nontype_cxx20.cpp | 29 template<int &> struct IntRef {}; struct 30 using IPn = IntRef<*(&n + 1)>; // expected-error {{not a constant expression}} expected-note {{dere… 31 using IPn = IntRef<*(&n + 1)>; // expected-error {{not a constant expression}} expected-note {{dere… 33 using IP2 = IntRef<s.n[2]>; // FIXME expected-error {{refers to subobject}} 34 using IP2 = IntRef<*(s.n + 2)>; // FIXME expected-error {{refers to subobject}} 36 using IP3 = IntRef<s.n[3]>; // expected-error {{not a constant expression}} expected-note {{derefer… 37 using IP3 = IntRef<*(s.n + 3)>; // expected-error {{not a constant expression}} expected-note {{der…
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/test/SemaTemplate/ |
H A D | temp_arg_nontype_cxx20.cpp | 29 template<int &> struct IntRef {}; struct 30 using IPn = IntRef<*(&n + 1)>; // expected-error {{not a constant expression}} expected-note {{dere… 31 using IPn = IntRef<*(&n + 1)>; // expected-error {{not a constant expression}} expected-note {{dere… 33 using IP2 = IntRef<s.n[2]>; // FIXME expected-error {{refers to subobject}} 34 using IP2 = IntRef<*(s.n + 2)>; // FIXME expected-error {{refers to subobject}} 36 using IP3 = IntRef<s.n[3]>; // expected-error {{not a constant expression}} expected-note {{derefer… 37 using IP3 = IntRef<*(s.n + 3)>; // expected-error {{not a constant expression}} expected-note {{der…
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/test/SemaTemplate/ |
H A D | temp_arg_nontype_cxx20.cpp | 29 template<int &> struct IntRef {}; struct 30 using IPn = IntRef<*(&n + 1)>; // expected-error {{not a constant expression}} expected-note {{dere… 31 using IPn = IntRef<*(&n + 1)>; // expected-error {{not a constant expression}} expected-note {{dere… 33 using IP2 = IntRef<s.n[2]>; // FIXME expected-error {{refers to subobject}} 34 using IP2 = IntRef<*(s.n + 2)>; // FIXME expected-error {{refers to subobject}} 36 using IP3 = IntRef<s.n[3]>; // expected-error {{not a constant expression}} expected-note {{derefer… 37 using IP3 = IntRef<*(s.n + 3)>; // expected-error {{not a constant expression}} expected-note {{der…
|
/dports/lang/clang-mesa/clang-13.0.1.src/test/SemaTemplate/ |
H A D | temp_arg_nontype_cxx20.cpp | 29 template<int &> struct IntRef {}; struct 30 using IPn = IntRef<*(&n + 1)>; // expected-error {{not a constant expression}} expected-note {{dere… 31 using IPn = IntRef<*(&n + 1)>; // expected-error {{not a constant expression}} expected-note {{dere… 33 using IP2 = IntRef<s.n[2]>; // FIXME expected-error {{refers to subobject}} 34 using IP2 = IntRef<*(s.n + 2)>; // FIXME expected-error {{refers to subobject}} 36 using IP3 = IntRef<s.n[3]>; // expected-error {{not a constant expression}} expected-note {{derefer… 37 using IP3 = IntRef<*(s.n + 3)>; // expected-error {{not a constant expression}} expected-note {{der…
|
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang/test/SemaTemplate/ |
H A D | temp_arg_nontype_cxx20.cpp | 29 template<int &> struct IntRef {}; struct 30 using IPn = IntRef<*(&n + 1)>; // expected-error {{not a constant expression}} expected-note {{dere… 31 using IPn = IntRef<*(&n + 1)>; // expected-error {{not a constant expression}} expected-note {{dere… 33 using IP2 = IntRef<s.n[2]>; // FIXME expected-error {{refers to subobject}} 34 using IP2 = IntRef<*(s.n + 2)>; // FIXME expected-error {{refers to subobject}} 36 using IP3 = IntRef<s.n[3]>; // expected-error {{not a constant expression}} expected-note {{derefer… 37 using IP3 = IntRef<*(s.n + 3)>; // expected-error {{not a constant expression}} expected-note {{der…
|
/dports/devel/llvm13/llvm-project-13.0.1.src/clang/test/SemaTemplate/ |
H A D | temp_arg_nontype_cxx20.cpp | 29 template<int &> struct IntRef {}; struct 30 using IPn = IntRef<*(&n + 1)>; // expected-error {{not a constant expression}} expected-note {{dere… 31 using IPn = IntRef<*(&n + 1)>; // expected-error {{not a constant expression}} expected-note {{dere… 33 using IP2 = IntRef<s.n[2]>; // FIXME expected-error {{refers to subobject}} 34 using IP2 = IntRef<*(s.n + 2)>; // FIXME expected-error {{refers to subobject}} 36 using IP3 = IntRef<s.n[3]>; // expected-error {{not a constant expression}} expected-note {{derefer… 37 using IP3 = IntRef<*(s.n + 3)>; // expected-error {{not a constant expression}} expected-note {{der…
|
/dports/devel/swig/swig-4.0.2/Examples/test-suite/ |
H A D | typedef_reference.i | 7 typedef int & IntRef; typedef 8 int somefunc(IntRef i) { return i; } in somefunc()
|
H A D | argout.i | 21 typedef int & IntRef; typedef 23 int inctr(IntRef value) { in inctr()
|
/dports/www/mattermost-server/mattermost-server-6.0.2/vendor/github.com/splitio/go-toolkit/v4/common/ |
H A D | refutil.go | 17 func IntRef(number int) *int { func 57 return IntRef(number)
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/lldb/test/Shell/SymbolFile/PDB/Inputs/ |
H A D | TypeQualsTest.cpp | 36 typedef int& IntRef; typedef 38 IntRef IVar = x;
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/lldb/test/Shell/SymbolFile/PDB/Inputs/ |
H A D | TypeQualsTest.cpp | 36 typedef int& IntRef; typedef 38 IntRef IVar = x;
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/lldb/test/Shell/SymbolFile/PDB/Inputs/ |
H A D | TypeQualsTest.cpp | 36 typedef int& IntRef; typedef 38 IntRef IVar = x;
|
/dports/devel/llvm12/llvm-project-12.0.1.src/lldb/test/Shell/SymbolFile/PDB/Inputs/ |
H A D | TypeQualsTest.cpp | 36 typedef int& IntRef; typedef 38 IntRef IVar = x;
|
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/lldb/test/Shell/SymbolFile/PDB/Inputs/ |
H A D | TypeQualsTest.cpp | 36 typedef int& IntRef; typedef 38 IntRef IVar = x;
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/lldb/test/Shell/SymbolFile/PDB/Inputs/ |
H A D | TypeQualsTest.cpp | 36 typedef int& IntRef; typedef 38 IntRef IVar = x;
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/lldb/test/Shell/SymbolFile/PDB/Inputs/ |
H A D | TypeQualsTest.cpp | 36 typedef int& IntRef; typedef 38 IntRef IVar = x;
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/lldb/test/Shell/SymbolFile/PDB/Inputs/ |
H A D | TypeQualsTest.cpp | 36 typedef int& IntRef; typedef 38 IntRef IVar = x;
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/lldb/test/Shell/SymbolFile/PDB/Inputs/ |
H A D | TypeQualsTest.cpp | 36 typedef int& IntRef; typedef 38 IntRef IVar = x;
|
/dports/devel/llvm13/llvm-project-13.0.1.src/lldb/test/Shell/SymbolFile/PDB/Inputs/ |
H A D | TypeQualsTest.cpp | 36 typedef int& IntRef; 38 IntRef IVar = x;
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
H A D | hicpp-multiway-paths-covered.cpp | 68 const int &IntRef = i; in bad_switch() local 69 switch (IntRef) { in bad_switch()
|