| /llvm-project-15.0.7/libcxxabi/test/ |
| H A D | catch_pointer_reference.pass.cpp | 364 assert_cannot_catch< Base * , Protected *, Protected>(); in f11() 365 assert_cannot_catch<const Base * , Protected *, Protected>(); in f11() 366 assert_cannot_catch< volatile Base * , Protected *, Protected>(); in f11() 367 assert_cannot_catch<const volatile Base * , Protected *, Protected>(); in f11() 368 assert_cannot_catch< Base * const , Protected *, Protected>(); in f11() 369 assert_cannot_catch<const Base * const , Protected *, Protected>(); in f11() 370 assert_cannot_catch< volatile Base * const , Protected *, Protected>(); in f11() 371 assert_cannot_catch<const volatile Base * const , Protected *, Protected>(); in f11() 372 assert_cannot_catch< Base * volatile, Protected *, Protected>(); in f11() 373 assert_cannot_catch<const Base * volatile, Protected *, Protected>(); in f11() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/modernize/ |
| H A D | make-shared.cpp | 186 class Protected { class 188 Protected() {} in Protected() function in Protected 191 Protected(int, int) {} in Protected() function in Protected 193 auto callsPublic = std::shared_ptr<Protected>(new Protected(1, 2)); in create() 196 auto ptr = std::shared_ptr<Protected>(new Protected); in create() 197 ptr.reset(new Protected); in create() 198 ptr = std::shared_ptr<Protected>(new Protected); in create()
|
| H A D | make-unique.cpp | 231 class Protected { class 233 Protected() {} in Protected() function in Protected 236 Protected(int, int) {} in Protected() function in Protected 238 auto callsPublic = std::unique_ptr<Protected>(new Protected(1, 2)); in create() 241 auto ptr = std::unique_ptr<Protected>(new Protected); in create() 242 ptr.reset(new Protected); in create() 243 ptr = std::unique_ptr<Protected>(new Protected); in create()
|
| /llvm-project-15.0.7/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/ |
| H A D | p18.cpp | 4 struct Protected {} protected_; struct 13 A(Protected); // expected-note {{protected here}} 14 void f(Protected); 34 B(Protected p, int) : B(p) {} in B() 42 C(Protected p) : B(p) {} in C()
|
| /llvm-project-15.0.7/clang/test/CXX/class.access/ |
| H A D | p4.cpp | 16 class Protected {} ProtectedInst; class 24 void foo(Protected&); // expected-note 2 {{declared protected here}} 35 void (A::*b)(Protected&) = &A::foo; // expected-error {{'foo' is a protected member}} in test() 50 void operator+(Protected&); // expected-note {{declared protected here}} 51 void operator[](Protected&); // expected-note {{declared protected here}} 52 void operator()(Protected&); // expected-note {{declared protected here}} 53 typedef void (*ProtectedSurrogate)(Protected&); 64 void operator+(const A &, Protected&); 68 void test(A &a, Public &pub, Protected &prot, Private &priv) { in test()
|
| H A D | p6.cpp | 18 struct Public {}; struct Protected {}; struct Private {}; struct 38 operator Protected (); // expected-note {{declared protected here}} 39 A(Protected); // expected-note {{declared protected here}} 48 Protected prot = a; // expected-error {{'operator Protected' is a protected member}} in test()
|
| /llvm-project-15.0.7/libcxx/test/std/concepts/concepts.lang/concept.destructible/ |
| H A D | destructible.compile.pass.cpp | 36 struct Protected { struct 38 ~Protected() = default; 65 test<Protected>(); in test()
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-cfi-verify/X86/ |
| H A D | ignorelist-unexpected-protected.s | 9 # CHECK-NEXT: ====> Unexpected Protected 11 # CHECK: Expected Protected: 0 (0.00%) 12 # CHECK: Unexpected Protected: 1 (100.00%)
|
| H A D | function-only-check.s | 5 # CHECK: Expected Protected: 1 (100.00%) 6 # CHECK: Unexpected Protected: 0 (0.00%)
|
| H A D | protected-lineinfo.s | 8 # CHECK: Expected Protected: 1 (100.00%) 9 # CHECK: Unexpected Protected: 0 (0.00%)
|
| H A D | unprotected-lineinfo.s | 8 # CHECK: Expected Protected: 0 (0.00%) 9 # CHECK: Unexpected Protected: 0 (0.00%)
|
| H A D | ignorelist-match-fun.s | 11 # CHECK: Expected Protected: 0 (0.00%) 12 # CHECK: Unexpected Protected: 0 (0.00%)
|
| H A D | ignorelist-expected-unprotected.s | 11 # CHECK: Expected Protected: 0 (0.00%) 12 # CHECK: Unexpected Protected: 0 (0.00%)
|
| H A D | indirect-cf-elimination.s | 15 # CHECK: Expected Protected: 1 (100.00%) 16 # CHECK: Unexpected Protected: 0 (0.00%)
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | unaddressable-functions.cpp | 16 class Protected { class 25 auto Prot = reinterpret_cast<void (Protected::*)(char *)>(&Protected::check); // expected-error{{'c… 27 auto ProtStatic = reinterpret_cast<void (*)(char *)>(&Protected::checkStatic); // expected-error{{'…
|
| H A D | cxx1z-class-template-argument-deduction.cpp | 366 template<typename T> struct Protected; // expected-note 2{{declared protected}} 367 Protected(float) -> Protected<float>; 371 Protected(int) -> Protected<int>; // expected-error {{different access}} 374 template<typename T> Protected(T) -> Protected<T>; // expected-error {{different access}}
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-cfi-verify/AArch64/ |
| H A D | function-only-check.s | 6 # CHECK: Expected Protected: 1 (100.00%) 7 # CHECK: Unexpected Protected: 0 (0.00%)
|
| H A D | unprotected-lineinfo.s | 7 # CHECK: Expected Protected: 0 (0.00%) 8 # CHECK: Unexpected Protected: 0 (0.00%)
|
| H A D | protected-lineinfo.s | 7 # CHECK: Expected Protected: 1 (100.00%) 8 # CHECK: Unexpected Protected: 0 (0.00%)
|
| /llvm-project-15.0.7/libcxx/test/std/concepts/concepts.lang/concept.constructible/ |
| H A D | constructible_from.compile.pass.cpp | 40 struct Protected { struct 42 ~Protected() = default; 132 test<Protected>(); in test()
|
| /llvm-project-15.0.7/flang/lib/Parser/ |
| H A D | misc-parsers.h | 52 constexpr auto protectedAttr{construct<Protected>("PROTECTED"_tok)};
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-nm/XCOFF/ |
| H A D | export-symbols.test | 83 ## Protected visibility. 230 ## Protected visibility.
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | DebugInfoFlags.def | 30 HANDLE_DI_FLAG(2, Protected)
|
| /llvm-project-15.0.7/llvm/include/llvm/ObjCopy/ |
| H A D | CommonConfig.h | 166 Protected, enumerator
|
| /llvm-project-15.0.7/mlir/lib/TableGen/ |
| H A D | Class.cpp | 203 case Visibility::Protected: in operator <<()
|