Home
last modified time | relevance | path

Searched refs:PrivateBase (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.enab/
H A Denable_shared_from_this.pass.cpp51 struct PrivateBase : private std::enable_shared_from_this<PrivateBase> { struct
82 typedef std::shared_ptr<PrivateBase> APtr; in main()
83 APtr a1 = std::make_shared<PrivateBase>(); in main()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dwarn-throw-out-noexcept-func.cpp354 struct PrivateBase {}; struct
355 struct PrivateDerived : private PrivateBase { friend void bad3() throw(); };
381 … try { throw PrivateDerived(); } catch (const PrivateBase&) {} // expected-warning {{still throw}} in bad3()
396 try { throw (PrivateDerived*)0; } catch (PrivateBase*) {} // expected-warning {{still throw}} in bad8()
/llvm-project-15.0.7/clang/test/CXX/temp/temp.param/
H A Dp7.cpp94 struct PrivateBase struct
96 template<PrivateBase> struct WithPrivateBase {}; // cxx17-error {{cannot have type}} cxx20-error {{…