Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/libcxxabi/test/
H A Dcatch_pointer_reference.pass.cpp364 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 Dmake-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()
H A Dmake-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()
/llvm-project-15.0.7/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/
H A 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()
/llvm-project-15.0.7/clang/test/CXX/class.access/
H A 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()
H A 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()
/llvm-project-15.0.7/libcxx/test/std/concepts/concepts.lang/concept.destructible/
H A Ddestructible.compile.pass.cpp36 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 Dignorelist-unexpected-protected.s9 # CHECK-NEXT: ====> Unexpected Protected
11 # CHECK: Expected Protected: 0 (0.00%)
12 # CHECK: Unexpected Protected: 1 (100.00%)
H A Dfunction-only-check.s5 # CHECK: Expected Protected: 1 (100.00%)
6 # CHECK: Unexpected Protected: 0 (0.00%)
H A Dprotected-lineinfo.s8 # CHECK: Expected Protected: 1 (100.00%)
9 # CHECK: Unexpected Protected: 0 (0.00%)
H A Dunprotected-lineinfo.s8 # CHECK: Expected Protected: 0 (0.00%)
9 # CHECK: Unexpected Protected: 0 (0.00%)
H A Dignorelist-match-fun.s11 # CHECK: Expected Protected: 0 (0.00%)
12 # CHECK: Unexpected Protected: 0 (0.00%)
H A Dignorelist-expected-unprotected.s11 # CHECK: Expected Protected: 0 (0.00%)
12 # CHECK: Unexpected Protected: 0 (0.00%)
H A Dindirect-cf-elimination.s15 # CHECK: Expected Protected: 1 (100.00%)
16 # CHECK: Unexpected Protected: 0 (0.00%)
/llvm-project-15.0.7/clang/test/SemaCXX/
H A 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{{'…
H A Dcxx1z-class-template-argument-deduction.cpp366 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 Dfunction-only-check.s6 # CHECK: Expected Protected: 1 (100.00%)
7 # CHECK: Unexpected Protected: 0 (0.00%)
H A Dunprotected-lineinfo.s7 # CHECK: Expected Protected: 0 (0.00%)
8 # CHECK: Unexpected Protected: 0 (0.00%)
H A Dprotected-lineinfo.s7 # 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 Dconstructible_from.compile.pass.cpp40 struct Protected { struct
42 ~Protected() = default;
132 test<Protected>(); in test()
/llvm-project-15.0.7/flang/lib/Parser/
H A Dmisc-parsers.h52 constexpr auto protectedAttr{construct<Protected>("PROTECTED"_tok)};
/llvm-project-15.0.7/llvm/test/tools/llvm-nm/XCOFF/
H A Dexport-symbols.test83 ## Protected visibility.
230 ## Protected visibility.
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DDebugInfoFlags.def30 HANDLE_DI_FLAG(2, Protected)
/llvm-project-15.0.7/llvm/include/llvm/ObjCopy/
H A DCommonConfig.h166 Protected, enumerator
/llvm-project-15.0.7/mlir/lib/TableGen/
H A DClass.cpp203 case Visibility::Protected: in operator <<()

123