HomeSort by relevance Sort by last modified time
    Searched full:instantiation (Results 1 - 25 of 2535) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/CXX/temp/temp.spec/temp.expl.spec/
p6.cpp 16 int &use_X0_int(X0<int> x0i, // expected-note{{implicit instantiation first required here}}
18 x0i.f(); // expected-note{{implicit instantiation first required here}}
19 x0i.g(i); // expected-note{{implicit instantiation first required here}}
20 X0<int>::Nested nested; // expected-note{{implicit instantiation first required here}}
21 return X0<int>::member; // expected-note{{implicit instantiation first required here}}
25 void X0<int>::f() { // expected-error{{after instantiation}}
29 void X0<int>::g(int) { // expected-error{{after instantiation}}
33 struct X0<int>::Nested { }; // expected-error{{after instantiation}}
36 int X0<int>::member = 17; // expected-error{{after instantiation}}
39 struct X0<int> { }; // expected-error{{after instantiation}}
    [all...]
examples.cpp 65 // implicit instantiation of A<int>,
215 // explicit instantiation Declaration, and explicit instantiation defInition.
227 template class BasicStringPiece<int>; // expected-note {{explicit instantiation definition is here}}
228 extern template class BasicStringPiece<int>; // expected-error {{explicit instantiation declaration (with 'extern') follows explicit instantiation definition (without 'extern')}}
233 template class BasicStringPiece<int>; // expected-error {{explicit instantiation of undefined template 'spec_vs_expl_inst::ISD::BasicStringPiece<int>'}}
240 template class BasicStringPiece<int>; // expected-error {{explicit instantiation of undefined template 'spec_vs_expl_inst::IDS::BasicStringPiece<int>'}} // expected-note {{explicit instantiation definition is here}}
241 extern template class BasicStringPiece<int>; // expected-error {{explicit instantiation declaration (with 'extern') follows explicit instantiation definition (without 'extern')}
    [all...]
  /external/antlr/antlr-3.4/runtime/C/include/
antlr3interfaces.h 45 /// Pointer to an instantiation of the 'class' #ANTLR3_BASE_RECOGNIZER
49 /// Pointer to an instantiation of 'class' #ANTLR3_RECOGNIZER_SHARED_STATE
54 /// Pointer to an instantiation of 'class' #ANTLR3_BITSET_LIST
59 /// Pointer to an instantiation of 'class' #ANTLR3_BITSET
64 /// Pointer to an instantiation of 'class' #ANTLR3_TOKEN_FACTORY
68 /// Pointer to an instantiation of 'class' #ANTLR3_COMMON_TOKEN
73 /// Pointer to an instantiation of 'class' #ANTLR3_EXCEPTION
78 /// Pointer to an instantiation of 'class' #ANTLR3_HASH_BUCKET
82 /// Pointer to an instantiation of 'class' #ANTLR3_HASH_ENTRY
86 /// Pointer to an instantiation of 'class' #ANTLR3_HASH_ENUM
    [all...]
  /external/clang/test/CXX/temp/temp.spec/
p5.cpp 4 template void f(int); // expected-note{{previous explicit instantiation}}
5 template void f(int); // expected-error{{duplicate explicit instantiation}}
19 template struct X0<int>; // expected-note{{previous explicit instantiation}} \
21 template struct X0<int>; // expected-error{{duplicate explicit instantiation}}
23 template void X0<float>::f(float); // expected-note{{previous explicit instantiation}}
24 template void X0<float>::f(float); // expected-error{{duplicate explicit instantiation}}
26 template union X0<float>::Inner; // expected-note{{previous explicit instantiation}}
27 template union X0<float>::Inner; // expected-error{{duplicate explicit instantiation}}
29 template float X0<float>::value; // expected-note{{previous explicit instantiation}}
30 template float X0<float>::value; // expected-error{{duplicate explicit instantiation}}
    [all...]
no-body.cpp 10 // expected-note@-2 {{explicit instantiation refers here}}
15 // expected-note@-2 {{explicit instantiation refers here}}
20 // expected-note@-2 {{explicit instantiation refers here}}
29 // expected-error@-2 {{explicit instantiation of 'f' must occur at global scope}}
34 // expected-error@-2 {{explicit instantiation of 'g' must occur at global scope}}
39 // expected-error@-2 {{explicit instantiation of 'x' must occur at global scope}}
58 template void g0(int) { } // expected-error {{function cannot be defined in an explicit instantiation; if this declaration is meant to be a function definition, remove the 'template' keyword}}
60 template struct y0 { }; // expected-error {{class cannot be defined in an explicit instantiation; if this declaration is meant to be a class definition, remove the 'template' keyword}}
78 template void f1<int>(int) { } // expected-error {{explicit template instantiation cannot have a definition; if this definition is meant to be an explicit specialization, add '<>' after the 'template' keyword}} \
80 template struct x1<int> { }; // expected-error {{explicit template instantiation cannot have a definition; if this definition is meant to be an explicit specialization, add '<>' a (…)
    [all...]
  /external/clang/test/CXX/temp/temp.spec/temp.explicit/
p10.cpp 26 template struct X0<void*>; // expected-note 2{{instantiation}}
28 template struct X0<int>; // expected-note 4{{explicit instantiation definition is here}}
30 extern template void X0<int>::f(int&); // expected-error{{follows explicit instantiation definition}}
31 extern template struct X0<int>::Inner; // expected-error{{follows explicit instantiation definition}}
32 extern template int X0<int>::static_var; // expected-error{{follows explicit instantiation definition}}
33 extern template struct X0<int>; // expected-error{{follows explicit instantiation definition}}
p3.cpp 4 // explicit instantiation of the function template.
10 // template shall be in scope at the point of the explicit instantiation of
16 template void X1<int>::f0<int>(int); // expected-error {{implicit instantiation of undefined template}}
19 // at the point of the explicit instantiation of the class template or class
21 template struct X1<float>; // expected-error{{explicit instantiation of undefined template}}
31 template struct X2<int>::Inner<float>; // expected-error{{explicit instantiation of undefined template}}
34 // explicit instantiation of a member function or a static data member of the
42 // point of an explicit instantiation of the member class.
45 // If the declaration of the explicit instantiation names an implicitly-declared
47 template X2<int>::X2(); // expected-error{{not an instantiation}}
    [all...]
p9.cpp 32 xi.f(ip); // expected-note{{instantiation}}
33 xi.g(ip); // expected-note{{instantiation}}
53 f0(fp); // expected-note{{instantiation}}
57 f1(ip); // expected-note{{instantiation}}
58 f1(fp); // expected-note{{instantiation}}
p1-0x.cpp 8 template inline void X<int>::f(); // expected-error{{explicit instantiation cannot be 'inline'}}
15 template constexpr int Y<int>::f() const; // expected-error{{explicit instantiation cannot be 'constexpr'}}
24 template int Z<int>::t; // expected-error {{explicit instantiation of 't' does not refer to}}
p2.cpp 36 struct X1 { // expected-note{{explicit instantiation refers here}}
40 void f1(T) {} // expected-note{{explicit instantiation refers here}}
46 // expected-warning@-2 {{explicit instantiation of 'N::X1' must occur in namespace 'N'}}
48 // expected-error@-4 {{explicit instantiation of 'N::X1' must occur in namespace 'N'}}
53 // expected-warning@-2 {{explicit instantiation of 'N::f1' must occur in namespace 'N'}}
55 // expected-error@-4 {{explicit instantiation of 'N::f1' must occur in namespace 'N'}}
  /external/clang/test/SemaTemplate/
instantiation-backtrace.cpp 4 template<typename T> struct B : A<T*> { }; // expected-error{{implicit instantiation of undefined template}} \
5 // expected-error{{implicit instantiation of undefined template 'A<X *>'}}
7 template<typename T> struct C : B<T> { } ; // expected-note{{instantiation of template class}}
9 template<typename T> struct D : C<T> { }; // expected-note{{instantiation of template class}}
11 template<typename T> struct E : D<T> { }; // expected-note{{instantiation of template class}}
13 template<typename T> struct F : E<T(T)> { }; // expected-note{{instantiation of template class}}
16 (void)sizeof(F<int>); // expected-note{{instantiation of template class}}
22 (void)sizeof(B<X>); // expected-note{{in instantiation of template class 'B<X>' requested here}}
26 struct G : A<T>, // expected-error{{implicit instantiation of undefined template 'A<int>'}}
27 A<T*> // expected-error{{implicit instantiation of undefined template 'A<int *>'}
    [all...]
instantiate-case.cpp 15 alpha(1); // expected-note{{instantiation of function template}}
19 _shexp_match<char>(); // expected-note{{instantiation of function template}}
ms-class-specialization-duplicate.cpp 8 template class A<int>; // expected-note {{previous explicit instantiation is here}}
9 template class A<TInt>; // expected-warning {{duplicate explicit instantiation of 'A<int>' ignored as a Microsoft extension}}
instantiation-depth.cpp 8 // expected-error{{recursive template instantiation exceeded maximum depth of 5}} \
9 // expected-note 3 {{instantiation of template class}} \
11 // expected-note {{use -ftemplate-depth=N to increase recursive template instantiation depth}}
14 (void)sizeof(X<int>); // expected-note {{instantiation of template class}}
25 // expected-error{{recursive template instantiation exceeded maximum depth of 5}} \
26 // expected-note 4 {{in instantiation of exception spec}} \
28 // expected-note {{use -ftemplate-depth=N to increase recursive template instantiation depth}}
instantiate-self.cpp 3 // Check that we deal with cases where the instantiation of a class template
4 // recursively requires the instantiation of the same template.
10 B b; // expected-note {{in instantiation of}}
12 A<int> a; // expected-note {{in instantiation of}}
22 B b; // expected-note {{in instantiation of}}
24 A<int> a; // expected-note {{in instantiation of}}
45 B b; // expected-note {{in instantiation of}}
47 A<int> a; // expected-note {{in instantiation of}}
50 // FIXME: PR12298: Recursive constexpr function template instantiation leads to
undefined-template.cpp 37 return C1<int>::s_var_1; // expected-warning{{instantiation of variable 'C1<int>::s_var_1' required here, but no definition is available}}
38 // expected-note@-1{{add an explicit instantiation declaration to suppress this warning if 'C1<int>::s_var_1' is explicitly instantiated in another translation unit}}
42 return C1<char>::s_var_2; // expected-warning{{instantiation of variable 'C1<char>::s_var_2' required here, but no definition is available}}
43 // expected-note@-1{{add an explicit instantiation declaration to suppress this warning if 'C1<char>::s_var_2' is explicitly instantiated in another translation unit}}
47 C1<int>::s_func_1(); // expected-warning{{instantiation of function 'C1<int>::s_func_1' required here, but no definition is available}}
48 // expected-note@-1{{add an explicit instantiation declaration to suppress this warning if 'C1<int>::s_func_1' is explicitly instantiated in another translation unit}}
56 C1<char>::s_func_2(); // expected-warning{{instantiation of function 'C1<char>::s_func_2' required here, but no definition is available}}
57 // expected-note@-1{{add an explicit instantiation declaration to suppress this warning if 'C1<char>::s_func_2' is explicitly instantiated in another translation unit}}
61 x->meth_1(); // expected-warning{{instantiation of function 'C1<int>::meth_1' required here, but no definition is available}}
62 // expected-note@-1{{add an explicit instantiation declaration to suppress this warning if 'C1<int>::meth_1' is explicitly instantiated in another tr (…)
    [all...]
instantiate-try-catch.cpp 12 template struct TryCatch0<int&&>; // expected-note{{instantiation}}
13 template struct TryCatch0<int>; // expected-note{{instantiation}}
30 template class Templated<int>; // expected-note{{in instantiation of member function 'PR10232::Templated<int>::exception' requested here}}
  /external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/
InstantiationSet.java 13 private List<Instantiation> instantiations;
29 public InstantiationSet withInstantiation(Instantiation instantiation) {
32 newInstance.instantiations.add(instantiation);
63 for (Instantiation instantiation : instantiations) {
64 type = type.replaceTypeVariables(instantiation.getInferenceVariable().getTypeParameterDeclaration(), instantiation.getProperType());
Instantiation.java 9 public class Instantiation {
13 public Instantiation(InferenceVariable inferenceVariable, ResolvedType properType) {
31 Instantiation that = (Instantiation) o;
46 return "Instantiation{" +
  /external/clang/test/Modules/Inputs/merge-template-members/
c.h 7 // Trigger instantiation of definition of A<int>.
  /external/clang/test/SemaObjCXX/
instantiate-expr.mm 14 // Test instantiation of value-dependent ObjCIvarRefExpr,
27 template void f<6, Class>(int, int); // expected-note{{in instantiation of}}
28 template void f<7, Class>(int*, int); // expected-note{{in instantiation of}}
29 template void f<8, Class>(int, double*); // expected-note{{in instantiation of}}
30 template void f<9, int>(int, int); // expected-note{{in instantiation of}}
32 // Test instantiation of unresolved member reference expressions to an
41 template void f2(A*, int*, int); // expected-note{{instantiation of}}
42 template void f2(A*, int, double*); // expected-note{{instantiation of}}
44 // Test instantiation of unresolved member referfence expressions to
52 template void f3<Class>(id); // expected-note{{in instantiation of}
    [all...]
  /external/clang/test/SemaCXX/
vtable-instantiation.cpp 12 new C1<T2>(); // expected-note {{in instantiation of member function}}
18 c2.c2(); // expected-note {{in instantiation of member function}}
40 Target<T> Provider<T>::Instance; // expected-note{{in instantiation of}}
58 static GMG* Method() { return &singleton; } // expected-note{{in instantiation of}}
66 GMG<int>::Method(); // expected-note{{in instantiation of}}
  /external/clang/test/CXX/temp/temp.decls/temp.variadic/
p2.cpp 15 // expected-note{{in instantiation of function template specialization 'recurse_until_fail<char [7]>' requested here}} \
16 // expected-note{{in instantiation of function template specialization 'recurse_until_fail<double, char [7]>' requested here}}
20 recurse_until_fail(1, 3.14159, "string"); // expected-note{{in instantiation of function template specialization 'recurse_until_fail<int, double, char [7]>' requested here}}
  /external/clang/test/CodeGenCXX/
weak-external.cpp 6 // The "basic_string" extern template instantiation declaration is supposed to
7 // suppress the implicit instantiation of non-inline member functions. Make sure
8 // that we suppress the implicit instantiation of non-inline member functions
10 // constructor when we shouldn't be. Such an instantiation forces the implicit
11 // instantiation of _S_construct<const char*>. Since _S_construct is a member
12 // template, it's instantiation is *not* suppressed (despite being in
  /external/clang/test/CXX/temp/temp.decls/temp.class/temp.mem.func/
p1inst.cpp 2 // Test instantiation of member functions of class templates defined out-of-line
16 xvi.f(vp, i); // expected-note{{instantiation}}

Completed in 619 milliseconds

1 2 3 4 5 6 7 8 91011>>