Home
last modified time | relevance | path

Searched refs:Protected (Results 1 – 25 of 139) sorted by relevance

123456

/external/llvm-project/libcxxabi/test/
Dcatch_pointer_reference.pass.cpp39 struct Protected : protected Base {}; struct
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()
[all …]
/external/libcxxabi/test/
Dcatch_pointer_reference.pass.cpp40 struct Protected : protected Base {}; struct
365 assert_cannot_catch< Base * , Protected *, Protected>(); in f11()
366 assert_cannot_catch<const Base * , Protected *, Protected>(); in f11()
367 assert_cannot_catch< volatile Base * , Protected *, Protected>(); in f11()
368 assert_cannot_catch<const volatile Base * , Protected *, Protected>(); in f11()
369 assert_cannot_catch< Base * const , Protected *, Protected>(); in f11()
370 assert_cannot_catch<const Base * const , Protected *, Protected>(); in f11()
371 assert_cannot_catch< volatile Base * const , Protected *, Protected>(); in f11()
372 assert_cannot_catch<const volatile Base * const , Protected *, Protected>(); in f11()
373 assert_cannot_catch< Base * volatile, Protected *, Protected>(); in f11()
[all …]
/external/llvm-project/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/
Dp18.cpp4 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()
/external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/
Dp18.cpp4 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()
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dmodernize-make-shared.cpp186 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()
Dmodernize-make-unique.cpp231 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()
/external/clang/test/CXX/class.access/
Dp4.cpp11 class Protected {} ProtectedInst; class
19 void foo(Protected&); // expected-note 2 {{declared protected here}}
30 void (A::*b)(Protected&) = &A::foo; // expected-error {{'foo' is a protected member}} in test()
45 void operator+(Protected&); // expected-note {{declared protected here}}
46 void operator[](Protected&); // expected-note {{declared protected here}}
47 void operator()(Protected&); // expected-note {{declared protected here}}
48 typedef void (*ProtectedSurrogate)(Protected&);
59 void operator+(const A &, Protected&);
63 void test(A &a, Public &pub, Protected &prot, Private &priv) { in test()
Dp6.cpp18 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()
/external/llvm-project/clang/test/CXX/class.access/
Dp4.cpp16 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()
Dp6.cpp18 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()
/external/llvm-project/llvm/test/tools/llvm-cfi-verify/X86/
Dblacklist-unexpected-protected.s9 # CHECK-NEXT: ====> Unexpected Protected
11 # CHECK: Expected Protected: 0 (0.00%)
12 # CHECK: Unexpected Protected: 1 (100.00%)
Dfunction-only-check.s5 # CHECK: Expected Protected: 1 (100.00%)
6 # CHECK: Unexpected Protected: 0 (0.00%)
Dprotected-lineinfo.s8 # CHECK: Expected Protected: 1 (100.00%)
9 # CHECK: Unexpected Protected: 0 (0.00%)
Dunprotected-lineinfo.s8 # CHECK: Expected Protected: 0 (0.00%)
9 # CHECK: Unexpected Protected: 0 (0.00%)
Dblacklist-expected-unprotected.s11 # CHECK: Expected Protected: 0 (0.00%)
12 # CHECK: Unexpected Protected: 0 (0.00%)
Dblacklist-match-fun.s11 # CHECK: Expected Protected: 0 (0.00%)
12 # CHECK: Unexpected Protected: 0 (0.00%)
/external/clang/test/SemaCXX/
Dunaddressable-functions.cpp16 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{{'…
/external/llvm-project/clang/test/SemaCXX/
Dunaddressable-functions.cpp16 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{{'…
Dcxx1z-class-template-argument-deduction.cpp352 template<typename T> struct Protected; // expected-note 2{{declared protected}}
353 Protected(float) -> Protected<float>;
357 Protected(int) -> Protected<int>; // expected-error {{different access}}
360 template<typename T> Protected(T) -> Protected<T>; // expected-error {{different access}}
/external/llvm-project/llvm/test/tools/llvm-cfi-verify/AArch64/
Dfunction-only-check.s6 # CHECK: Expected Protected: 1 (100.00%)
7 # CHECK: Unexpected Protected: 0 (0.00%)
Dunprotected-lineinfo.s7 # CHECK: Expected Protected: 0 (0.00%)
8 # CHECK: Unexpected Protected: 0 (0.00%)
/external/llvm/tools/llvm-pdbdump/
DClassDefinitionDumper.cpp77 std::make_pair((int)PDB_MemberAccess::Protected, SymbolGroup())); in start()
107 Count += dumpAccessGroup(PDB_MemberAccess::Protected, in start()
108 Groups[(int)PDB_MemberAccess::Protected]); in start()
126 } else if (Access == PDB_MemberAccess::Protected) { in dumpAccessGroup()
/external/guice/core/test/com/google/inject/
DInjectorTest.java306 Protected p = injector.getInstance(Protected.class);
311 static class Protected {
316 protected Protected(String fromConstructor) {
/external/javassist/src/test/test5/
DInnerModifier2.java6 protected class Protected {} class in InnerModifier2
/external/crosvm/hypervisor/src/
Dcaps.rs26 Protected, enumerator

123456