Home
last modified time | relevance | path

Searched refs:AutoPtr (Results 1 – 5 of 5) sorted by relevance

/llvm-project/clang/test/SemaCXX/
H A Dconversion-function.cpp128 class AutoPtr { class
129 AutoPtr(AutoPtr &); // cxx98-note {{declared private here}}
132 AutoPtr();
133 AutoPtr(AutoPtrRef);
138 AutoPtr make_auto_ptr();
140 AutoPtr test_auto_ptr(bool Cond) { in test_auto_ptr()
141 AutoPtr p1( make_auto_ptr() ); in test_auto_ptr()
143 AutoPtr p; in test_auto_ptr()
147 return AutoPtr(); in test_auto_ptr()
[all...]
H A Ddeduced-return-void.cpp67 namespace AutoPtr { namespace
/llvm-project/clang/test/SemaTemplate/
H A Dtemp_arg_template_p0522.cpp89 template<auto*> struct AutoPtr; // #AutoPtr
95 TInt<AutoPtr> iap; // expected-error@#TInt {{non-type template parameter '' with type 'auto *' has incompatible initializer of type 'int'}}
103 TIntPtr<AutoPtr> ipap;
110 TAuto<AutoPtr> aap; // expected-error@#AutoPtr {{could not match 'auto *' against 'auto'}}
116 TAutoPtr<AutoPtr> apap;
132 TDecltypeAuto<AutoPtr> daap; // expected-error@#AutoPtr {{could not match 'auto *' against 'decltype(auto)'}}
/llvm-project/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/
H A Dp5.cpp18 typedef auto *AutoPtr; // expected-error{{'auto' not allowed in typedef}} typedef
/llvm-project/clang/test/Parser/
H A Dcxx1z-class-template-argument-deduction.cpp83 typedef A *AutoPtr; // expected-error {{requires template arguments; argument deduction not allowed in typedef}} typedef