/external/clang/test/CXX/temp/temp.decls/temp.class.spec/ |
H A D | p8-1y.cpp | 22 template<typename Outer> struct X { 24 template<typename Inner> static int y<Outer>; // expected-warning {{cannot be deduced}} expected-note {{'Inner'}} 27 template<typename Outer> template<typename Inner> int X<Outer>::y<Outer>; // expected-warning {{cannot be deduced}} expected-note {{'Inner'}} 28 template<typename Outer> template<typename Inner> int X<Outer>::y<Inner>; // expected-error {{does not specialize}} 32 template<typename Outer> struct Y {
|
H A D | p6.cpp | 39 struct Outer { struct 45 Outer<int, int> outer; // expected-note{{instantiation}} 59 struct Outer { struct in namespace:rdar8651930 74 int array0[Outer<int>::Inner<int, int>::value? 1 : -1]; 75 int array1[Outer<int>::Inner<int, float>::value? -1 : 1];
|
/external/clang/test/CodeGenCXX/ |
H A D | cxx1y-variable-template.cpp | 11 template<typename T> struct Outer { struct 16 Outer<char[100]> outer_int; 18 template<typename T> template<typename U> template<typename V> int Outer<T>::Inner<U>::arr[sizeof(T) + sizeof(U) + sizeof(V)] = { init_arr() }; 19 int *p = Outer<char[100]>::Inner<char[20]>::arr<char[3]>;
|
H A D | template-linkage.cpp | 49 struct Outer { struct in namespace:PR14825 60 Outer o; 61 typedef void (Outer::*mptr)(); 62 mptr method = &Outer::Get<local>;
|
/external/clang/test/SemaCXX/ |
H A D | virtual-member-functions-key-function.cpp | 22 struct Outer { struct 29 void Outer::Inner::g() { }
|
H A D | cxx0x-defaulted-functions.cpp | 155 struct Outer { struct in namespace:PR14577 168 Outer<T>::Inner1<T>::~Inner1() = delete; // expected-error {{nested name specifier 'Outer<T>::Inner1<T>::' for declaration does not refer into a class, class template or class template partial specialization}} expected-error {{only functions can have deleted definitions}} 171 Outer<T>::Inner2<T>::~Inner2() = default; // expected-error {{nested name specifier 'Outer<T>::Inner2<T>::' for declaration does not refer into a class, class template or class template partial specialization}} expected-error {{only special member functions may be defaulted}}
|
/external/clang/test/CXX/class/class.nest/ |
H A D | p1-cxx0x.cpp | 3 class Outer { class
|
H A D | p1.cpp | 3 class Outer { class
|
/external/clang/test/SemaTemplate/ |
H A D | nested-template.cpp | 17 struct Outer { struct 36 class Outer<X>::Inner0 { 43 void Outer<X>::Inner0<Y>::f(X, Y) { 48 struct Outer<X>::Inner1<Y>::ReallyInner { 56 void Outer<X>::Inner1<Y>::ReallyInner::g(X, Y) { 61 X Outer<X>::Inner1<Y>::foo(Y) { 68 X Outer<X>::Inner1<Y>::bar(Z) { 75 X* Outer<X>::Inner1<Y>::bar(Z) { 81 X Outer<X>::Inner1<Y>::value1 = 0; 85 Y Outer< [all...] |
H A D | instantiate-declref.cpp | 3 struct Outer { struct in namespace:N 17 Outer::Inner::InnerTemplate<type>::VeryInner::Kind2 = K2Val; 25 Outer::Inner::InnerTemplate<type>::VeryInner::Kind2 = K2Val; 38 template struct N::Outer::Inner::InnerTemplate<INT>::VeryInner; 39 template struct N::Outer::Inner::InnerTemplate<INT>::UeberInner; // expected-error{{no struct named 'UeberInner' in 'N::Outer::Inner::InnerTemplate<int>'}}
|
H A D | typename-specifier-4.cpp | 87 struct Outer { struct in namespace:PR6268 92 typename Outer<T>::template Inner<U> 93 foo(typename Outer<T>::template Inner<U>); 98 typename Outer<T>::template Inner<U> 99 Outer<T>::foo(typename Outer<T>::template Inner<U>) {
|
H A D | constructor-template.cpp | 36 struct Outer { struct 41 explicit Outer(const A& a) : alloc(a) { } function in struct:Outer 45 Outer<int> oi(xi); 46 Outer<float> of(xi);
|
H A D | ms-delayed-default-template-args.cpp | 25 struct Outer { struct in namespace:test_inner_class_template 33 template struct Outer::Foo<>;
|
/external/clang/test/CXX/class/class.friend/ |
H A D | p1.cpp | 3 struct Outer { struct 31 friend class Outer::Inner; 32 friend int Outer::Inner::intfield; // expected-error {{friends can only be classes or functions}} 33 friend int Outer::Inner::missing_field; //expected-error {{friends can only be classes or functions}}
|
/external/clang/test/Analysis/inlining/ |
H A D | path-notes.c | 124 struct Outer { struct 130 void test(struct Outer *wrapperPtr) {
|
H A D | path-notes.cpp | 286 class Outer { class in namespace:PR17746 289 ~Outer() { 295 void test(Outer *outer) { 297 // expected-note@-1 {{Calling '~Outer'}} 5028 // CHECK-NEXT: <string>Calling '~Outer'</string> 5030 // CHECK-NEXT: <string>Calling '~Outer'</string> 5119 // CHECK-NEXT: <string>Entered call from '~Outer'</string> 5121 // CHECK-NEXT: <string>Entered call from '~Outer'</string>
|
/external/clang/test/Index/ |
H A D | comment-cplus-decls.cpp | 102 template <class T> struct Outer { struct in namespace:test1 108 friend void Outer::foo(T);
|
/external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.def/ |
H A D | p8.cpp | 41 struct Outer {}; struct in namespace:ADL 46 void fo(Outer); 57 ADL::Outer o;
|
/external/eigen/Eigen/src/Core/ |
H A D | PlainObjectBase.h | 501 template<int Outer, int Inner> 502 static inline typename StridedConstMapType<Stride<Outer, Inner> >::type Map(const Scalar* data, const Stride<Outer, Inner>& stride) 503 { return typename StridedConstMapType<Stride<Outer, Inner> >::type(data, stride); } 504 template<int Outer, int Inner> 505 static inline typename StridedMapType<Stride<Outer, Inner> >::type Map(Scalar* data, const Stride<Outer, Inner>& stride) 506 { return typename StridedMapType<Stride<Outer, Inner> >::type(data, stride); } 507 template<int Outer, int Inner> 508 static inline typename StridedConstMapType<Stride<Outer, Inne [all...] |
/external/clang/test/CXX/class.access/ |
H A D | p6.cpp | 88 struct Outer { struct in namespace:test3 93 template <class T> class Outer::A<T, typename T::nature> { 95 static void foo(); // expected-note {{'Outer::A<B, Green>::foo' declared here}} 100 friend class Outer; 104 Outer::A<B, Green>::foo(); 105 Outer::A<B, Blue>::foo(); // expected-error {{no member named 'foo' in 'test3::Outer::A<test3::B, test3::Blue>'; did you mean 'Outer::A<B, Green>::foo'?}}
|
/external/llvm/unittests/ExecutionEngine/MCJIT/ |
H A D | MCJITTest.cpp | 167 Function *Outer; local 171 Outer = startFunction<int32_t(void)>(M.get(), funcName.str()); 173 endFunctionWithRet(Outer, innerResult); 175 Inner = Outer; 179 uint64_t ptr = TheJIT->getFunctionAddress(Outer->getName().str());
|
/external/clang/test/Modules/Inputs/ |
H A D | cxx-templates-common.h | 27 template<typename T> struct Outer { struct
|
H A D | templates-right.h | 33 typedef Outer<int>::Inner OuterIntInner_right;
|
H A D | templates-top.h | 25 template<typename T> struct Outer { struct
|
/external/clang/include/clang/Sema/ |
H A D | Template.h | 218 LocalInstantiationScope *Outer; 247 : SemaRef(SemaRef), Outer(SemaRef.CurrentInstantiationScope), 268 SemaRef.CurrentInstantiationScope = Outer; 279 newScope->Outer = nullptr; 280 if (Outer) 281 newScope->Outer = Outer->cloneScopes(Outermost); 310 LocalInstantiationScope *Out = Scope->Outer;
|