Searched refs:Tmpl (Results 1 - 19 of 19) sorted by relevance

/external/clang/test/SemaTemplate/
H A Dclass-template-ctor-initializer.cpp17 template<typename T> struct Tmpl { }; struct
21 struct TmplC : Tmpl<int> {
23 Tmpl<int>(),
28 struct TmplD : Tmpl<char>, TmplB<char> {
30 Tmpl<int>(), // expected-error {{type 'Tmpl<int>' is not a direct or virtual base of 'TmplD'}}
/external/clang/tools/libclang/
H A DCIndexCXX.cpp117 } else if (const RedeclarableTemplateDecl *Tmpl
119 Template = Tmpl->getInstantiatedFromMemberTemplate();
/external/clang/test/CodeGenCXX/
H A Ddebug-info-use-after-free.cpp11 template < template < typename > class Tmpl > struct TemplateSel
15 typedef Tmpl < T > type;
/external/clang/include/clang/Sema/
H A DTemplate.h482 bool InitFunctionInstantiation(FunctionDecl *New, FunctionDecl *Tmpl);
483 bool InitMethodInstantiation(CXXMethodDecl *New, CXXMethodDecl *Tmpl);
H A DSema.h6429 const CXXConstructorDecl *Tmpl,
/external/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp122 const Decl *Tmpl, Decl *New,
125 for (AttrVec::const_iterator i = Tmpl->attr_begin(), e = Tmpl->attr_end();
2967 /// declaration (New) from the corresponding fields of its template (Tmpl).
2972 FunctionDecl *Tmpl) {
2973 if (Tmpl->isDeleted())
2990 assert(FunTmpl->getTemplatedDecl() == Tmpl &&
2998 const FunctionProtoType *Proto = Tmpl->getType()->getAs<FunctionProtoType>();
3010 FunctionDecl *ExceptionSpecTemplate = Tmpl;
3033 const FunctionDecl *Definition = Tmpl;
121 InstantiateAttrs(const MultiLevelTemplateArgumentList &TemplateArgs, const Decl *Tmpl, Decl *New, LateInstantiatedAttrVec *LateAttrs, LocalInstantiationScope *OuterMostScope) argument
2971 InitFunctionInstantiation(FunctionDecl *New, FunctionDecl *Tmpl) argument
3048 InitMethodInstantiation(CXXMethodDecl *New, CXXMethodDecl *Tmpl) argument
3640 InstantiateMemInitializers(CXXConstructorDecl *New, const CXXConstructorDecl *Tmpl, const MultiLevelTemplateArgumentList &TemplateArgs) argument
[all...]
H A DSemaLookup.cpp2508 } else if (FunctionTemplateDecl *Tmpl =
2511 AddMethodTemplateCandidate(Tmpl, DeclAccessPair::make(Tmpl, AS_public),
2516 AddTemplateOverloadCandidate(Tmpl, DeclAccessPair::make(Tmpl, AS_public),
/external/clang/include/clang/AST/
H A DASTContext.h634 /// the static data member template \p Tmpl of a class template.
635 void setInstantiatedFromStaticDataMember(VarDecl *Inst, VarDecl *Tmpl,
657 void setInstantiatedFromUnnamedFieldDecl(FieldDecl *Inst, FieldDecl *Tmpl);
/external/clang/lib/Serialization/
H A DASTReaderDecl.cpp907 if (FieldDecl *Tmpl = ReadDeclAs<FieldDecl>(Record, Idx))
908 Reader.getContext().setInstantiatedFromUnnamedFieldDecl(FD, Tmpl);
957 VarDecl *Tmpl = ReadDeclAs<VarDecl>(Record, Idx); local
960 Reader.getContext().setInstantiatedFromStaticDataMember(VD, Tmpl, TSK,POI);
/external/clang/lib/AST/
H A DASTContext.cpp1064 ASTContext::setInstantiatedFromStaticDataMember(VarDecl *Inst, VarDecl *Tmpl, argument
1068 assert(Tmpl->isStaticDataMember() && "Not a static data member");
1070 Tmpl, TSK, PointOfInstantiation));
1146 FieldDecl *Tmpl) {
1148 assert(!Tmpl->getDeclName() && "Template field decl is not unnamed");
1152 InstantiatedFromUnnamedFieldDecl[Inst] = Tmpl;
1145 setInstantiatedFromUnnamedFieldDecl(FieldDecl *Inst, FieldDecl *Tmpl) argument
/external/chromium/testing/gtest/include/gtest/internal/
H A Dgtest-type-util.h1620 // The template "selector" struct TemplateSel<Tmpl> is used to
1621 // represent Tmpl, which must be a class template with one type
1622 // parameter, as a type. TemplateSel<Tmpl>::Bind<T>::type is defined
1623 // as the type Tmpl<T>. This allows us to actually instantiate the
1624 // template "selected" by TemplateSel<Tmpl>.
1628 template <GTEST_TEMPLATE_ Tmpl>
1632 typedef Tmpl<T> type;
/external/chromium_org/testing/gtest/include/gtest/internal/
H A Dgtest-type-util.h1625 // The template "selector" struct TemplateSel<Tmpl> is used to
1626 // represent Tmpl, which must be a class template with one type
1627 // parameter, as a type. TemplateSel<Tmpl>::Bind<T>::type is defined
1628 // as the type Tmpl<T>. This allows us to actually instantiate the
1629 // template "selected" by TemplateSel<Tmpl>.
1633 template <GTEST_TEMPLATE_ Tmpl>
1637 typedef Tmpl<T> type;
/external/chromium_org/third_party/mesa/src/src/gtest/include/gtest/internal/
H A Dgtest-type-util.h1625 // The template "selector" struct TemplateSel<Tmpl> is used to
1626 // represent Tmpl, which must be a class template with one type
1627 // parameter, as a type. TemplateSel<Tmpl>::Bind<T>::type is defined
1628 // as the type Tmpl<T>. This allows us to actually instantiate the
1629 // template "selected" by TemplateSel<Tmpl>.
1633 template <GTEST_TEMPLATE_ Tmpl>
1637 typedef Tmpl<T> type;
/external/gtest/include/gtest/internal/
H A Dgtest-type-util.h1625 // The template "selector" struct TemplateSel<Tmpl> is used to
1626 // represent Tmpl, which must be a class template with one type
1627 // parameter, as a type. TemplateSel<Tmpl>::Bind<T>::type is defined
1628 // as the type Tmpl<T>. This allows us to actually instantiate the
1629 // template "selected" by TemplateSel<Tmpl>.
1633 template <GTEST_TEMPLATE_ Tmpl>
1637 typedef Tmpl<T> type;
/external/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-type-util.h1625 // The template "selector" struct TemplateSel<Tmpl> is used to
1626 // represent Tmpl, which must be a class template with one type
1627 // parameter, as a type. TemplateSel<Tmpl>::Bind<T>::type is defined
1628 // as the type Tmpl<T>. This allows us to actually instantiate the
1629 // template "selected" by TemplateSel<Tmpl>.
1633 template <GTEST_TEMPLATE_ Tmpl>
1637 typedef Tmpl<T> type;
/external/mesa3d/src/gtest/include/gtest/internal/
H A Dgtest-type-util.h1625 // The template "selector" struct TemplateSel<Tmpl> is used to
1626 // represent Tmpl, which must be a class template with one type
1627 // parameter, as a type. TemplateSel<Tmpl>::Bind<T>::type is defined
1628 // as the type Tmpl<T>. This allows us to actually instantiate the
1629 // template "selected" by TemplateSel<Tmpl>.
1633 template <GTEST_TEMPLATE_ Tmpl>
1637 typedef Tmpl<T> type;
/external/open-vcdiff/gtest/include/gtest/internal/
H A Dgtest-type-util.h1616 // The template "selector" struct TemplateSel<Tmpl> is used to
1617 // represent Tmpl, which must be a class template with one type
1618 // parameter, as a type. TemplateSel<Tmpl>::Bind<T>::type is defined
1619 // as the type Tmpl<T>. This allows us to actually instantiate the
1620 // template "selected" by TemplateSel<Tmpl>.
1624 template <GTEST_TEMPLATE_ Tmpl>
1628 typedef Tmpl<T> type;
/external/protobuf/gtest/include/gtest/internal/
H A Dgtest-type-util.h1616 // The template "selector" struct TemplateSel<Tmpl> is used to
1617 // represent Tmpl, which must be a class template with one type
1618 // parameter, as a type. TemplateSel<Tmpl>::Bind<T>::type is defined
1619 // as the type Tmpl<T>. This allows us to actually instantiate the
1620 // template "selected" by TemplateSel<Tmpl>.
1624 template <GTEST_TEMPLATE_ Tmpl>
1628 typedef Tmpl<T> type;
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/
H A Dgtest.h5316 // The template "selector" struct TemplateSel<Tmpl> is used to
5317 // represent Tmpl, which must be a class template with one type
5318 // parameter, as a type. TemplateSel<Tmpl>::Bind<T>::type is defined
5319 // as the type Tmpl<T>. This allows us to actually instantiate the
5320 // template "selected" by TemplateSel<Tmpl>.
5324 template <GTEST_TEMPLATE_ Tmpl>
5328 typedef Tmpl<T> type;

Completed in 2823 milliseconds