Home
last modified time | relevance | path

Searched refs:Private (Results 1 – 25 of 170) sorted by relevance

1234567

/llvm-project-15.0.7/libcxxabi/test/
H A Dcatch_pointer_reference.pass.cpp340 assert_cannot_catch< Base * , Private *, Private>(); in f10()
341 assert_cannot_catch<const Base * , Private *, Private>(); in f10()
342 assert_cannot_catch< volatile Base * , Private *, Private>(); in f10()
343 assert_cannot_catch<const volatile Base * , Private *, Private>(); in f10()
344 assert_cannot_catch< Base * const , Private *, Private>(); in f10()
345 assert_cannot_catch<const Base * const , Private *, Private>(); in f10()
346 assert_cannot_catch< volatile Base * const , Private *, Private>(); in f10()
347 assert_cannot_catch<const volatile Base * const , Private *, Private>(); in f10()
348 assert_cannot_catch< Base * volatile, Private *, Private>(); in f10()
349 assert_cannot_catch<const Base * volatile, Private *, Private>(); in f10()
[all …]
/llvm-project-15.0.7/clang/test/CXX/temp/temp.spec/temp.explicit/
H A Dp12.cpp12 class Private {}; class in test1::A
14 typedef Private Public;
20 template class Temp<A::Private>;
25 template class Temp<A::Private> Temp<int>::make();
33 class Private {}; // expected-note {{implicitly declared private here}} class in test2::A
35 typedef Private Public;
41 template <> class Temp<A::Private> {
46 template <> class Temp<A::Private> Temp<int>::make() { in make()
52 static Temp<A::Private> make() { // expected-error {{is a private member}} in make()
/llvm-project-15.0.7/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/
H A Dallocate_shared_construct.pass.cpp66 struct Private;
70 static std::shared_ptr<Private> allocate();
76 struct Private { struct
80 friend FactoryAllocator<Private>; argument
81 Private(int i) : id(i) {} in Private() argument
82 ~Private() {} in ~Private() argument
98 void destroy(Private* p) { p->~Private(); } in destroy()
101 std::shared_ptr<Private> Factory::allocate() { in allocate()
102 FactoryAllocator<Private> factory_alloc; in allocate()
103 return std::allocate_shared<Private>(factory_alloc, 42); in allocate()
[all …]
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dcxx98-compat-flags.cpp13 struct Private { struct
14 Private();
16 Private(const Private&); // expected-note {{declared private here}}
28 …Private p; // expected-note {{copy constructor of 'Deleted' is implicitly deleted because field 'p…
31 …const Private &a = Private(); // expected-warning {{copying variable of type 'CopyCtorIssues::Priv…
H A Dcxx98-compat-pedantic.cpp52 struct Private { struct
53 Private();
55 Private(const Private&); // expected-note {{declared private here}}
67 Private p; // expected-note {{implicitly deleted}}
70 …const Private &a = Private(); // expected-warning {{copying variable of type 'CopyCtorIssues::Priv…
H A Dunaddressable-functions.cpp4 class Private { class
12 auto Priv = reinterpret_cast<void (Private::*)(char *)>(&Private::check); // expected-error{{'check…
14 auto PrivStatic = reinterpret_cast<void (*)(char *)>(&Private::checkStatic); // expected-error{{'ch…
H A Dcxx14-access.cpp5 class Private; // expected-note {{declared private here}}
11 Foo::Private Bar::ABC; // expected-error {{no member named 'ABC' in 'NoCrashOnDelayedAccessCheck::B…
/llvm-project-15.0.7/clang/test/CXX/class.access/
H A Dp4.cpp17 class Private {} PrivateInst; class
26 void foo(Private&); // expected-note 2 {{declared private here}}
56 void operator+(Private&); // expected-note {{declared private here}}
60 typedef void (*PrivateSurrogate)(Private&);
65 void operator+(const A &, Private&);
68 void test(A &a, Public &pub, Protected &prot, Private &priv) { in test()
268 operator Private(); // expected-note 4 {{declared private here}}
290 operator Private();
292 Private test1(Derived3 &d) { return d; } in test1()
297 operator Private();
[all …]
H A Dp6.cpp18 struct Public {}; struct Protected {}; struct Private {}; struct
41 operator Private (); // expected-note {{declared private here}}
42 A(Private); // expected-note {{declared private here}}
49 Private priv = a; // expected-error {{'operator Private' is a private member}} in test()
/llvm-project-15.0.7/clang/test/Modules/
H A Dimplicit-private-with-submodule.m2 // Build PCH using A, with private submodule A.Private
6 // Build PCH using A, with private submodule A.Private, check the fixit
14 …ule/A.framework/Modules/module.private.modulemap:1{{private submodule 'A.Private' in private modul…
15 …with-submodule/A.framework/Modules/module.private.modulemap:1{{rename 'A.Private' to ensure it can…
17 …ule/A.framework/Modules/module.private.modulemap:6{{private submodule 'B.Private' in private modul…
18 …with-submodule/A.framework/Modules/module.private.modulemap:6{{rename 'B.Private' to ensure it can…
20 …ule/A.framework/Modules/module.private.modulemap:9{{private submodule 'C.Private' in private modul…
21 …with-submodule/A.framework/Modules/module.private.modulemap:9{{rename 'C.Private' to ensure it can…
35 @import A.Private;
40 @import A.Private;
H A DReachability-Private.cpp11 export module Private;
31 import Private;
H A Dimplicit-map-dot-private.m7 @import A.Private; // expected-warning {{no submodule named 'Private' in module 'A'; using top leve…
H A Dincomplete-umbrella.m7 @import Foo.Private;
14 …]PrivateHeaders[/\]}}Foo.h:2:1: warning: umbrella header for module 'Foo.Private' does not include…
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/modernize/
H A Dmake-shared.cpp168 class Private { class
170 Private(int z) {} in Private() function in Private
173 Private() {} in Private() function in Private
175 auto callsPublic = std::shared_ptr<Private>(new Private); in create()
178 auto ptr = std::shared_ptr<Private>(new Private(42)); in create()
179 ptr.reset(new Private(42)); in create()
180 ptr = std::shared_ptr<Private>(new Private(42)); in create()
183 virtual ~Private();
H A Dmake-unique.cpp213 class Private { class
215 Private(int z) {} in Private() function in Private
218 Private() {} in Private() function in Private
220 auto callsPublic = std::unique_ptr<Private>(new Private); in create()
223 auto ptr = std::unique_ptr<Private>(new Private(42)); in create()
224 ptr.reset(new Private(42)); in create()
225 ptr = std::unique_ptr<Private>(new Private(42)); in create()
228 virtual ~Private();
/llvm-project-15.0.7/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/
H A Dp18.cpp5 struct Private {} private_; struct
17 A(Private); // expected-note 4{{private here}}
18 void f(Private); // expected-note {{private here}}
35 B(Private p, int) : B(p) {} // expected-error {{private}} in B()
43 C(Private p) : B(p) {} // expected-error {{private}} in C()
/llvm-project-15.0.7/clang/test/CXX/dcl.decl/dcl.init/
H A Dp14-0x.cpp18 class Private { class
19 Private(int); // expected-note {{here}}
21 Private();
36 Private p = 42; // expected-error {{private constructor}}
/llvm-project-15.0.7/clang/test/Modules/Inputs/implicit-private-with-submodule/A.framework/Modules/
H A Dmodule.private.modulemap1 framework module A.Private {
6 explicit module B.Private {
9 explicit framework module C.Private {
/llvm-project-15.0.7/libcxx/test/std/concepts/concepts.lang/concept.destructible/
H A Ddestructible.compile.pass.cpp40 struct Private { struct
42 ~Private() = default;
66 test<Private>(); in test()
/llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/TypeCheck/Function/
H A Dfunction.cpp33 struct Private {}; struct
46 void fnPrivate(Private *) {} in fnPrivate() argument
120 reinterpret_cast<void (*)(Private *)>(getPrivate())(nullptr); in check_cross_dso()
/llvm-project-15.0.7/mlir/lib/TableGen/
H A DClass.cpp205 case Visibility::Private: in operator <<()
322 if (!privateMethods.empty() && getLastVisibilityDecl() != Visibility::Private) in finalize()
323 declare<VisibilityDeclaration>(Visibility::Private); in finalize()
330 if (!fields.empty() && getLastVisibilityDecl() != Visibility::Private) in finalize()
331 declare<VisibilityDeclaration>(Visibility::Private); in finalize()
343 ? (isStruct ? Visibility::Public : Visibility::Private) in getLastVisibilityDecl()
/llvm-project-15.0.7/clang/test/Modules/Inputs/Main.framework/Modules/
H A Dmodule.private.modulemap1 module Main.Private {
7 module Main.Sub.Private {
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DCOFFImportFile.h91 bool Private = false; member
97 L.Data == R.Data && L.Private == R.Private;
/llvm-project-15.0.7/libcxx/test/std/concepts/concepts.lang/concept.constructible/
H A Dconstructible_from.compile.pass.cpp44 struct Private { struct
46 ~Private() = default;
133 test<Private>(); in test()
/llvm-project-15.0.7/clang-tools-extra/clangd/support/
H A DContext.h140 static Key<typename std::decay<Type>::type> Private; in derive() local
141 return derive(Private, std::forward<Type>(Value)); in derive()
145 static Key<typename std::decay<Type>::type> Private; in derive() local
146 return std::move(*this).derive(Private, std::forward<Type>(Value)); in derive()

1234567