/external/clang/test/SemaTemplate/ |
H A D | class-template-ctor-initializer.cpp | 17 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 D | CIndexCXX.cpp | 118 } else if (RedeclarableTemplateDecl *Tmpl 120 Template = Tmpl->getInstantiatedFromMemberTemplate();
|
/external/clang/test/CodeGenCXX/ |
H A D | debug-info-use-after-free.cpp | 11 template < template < typename > class Tmpl > struct TemplateSel 15 typedef Tmpl < T > type;
|
/external/clang/include/clang/Sema/ |
H A D | Template.h | 474 bool InitFunctionInstantiation(FunctionDecl *New, FunctionDecl *Tmpl); 475 bool InitMethodInstantiation(CXXMethodDecl *New, CXXMethodDecl *Tmpl);
|
H A D | Sema.h | 5962 const CXXConstructorDecl *Tmpl,
|
/external/clang/lib/Sema/ |
H A D | SemaTemplateInstantiateDecl.cpp | 64 const Decl *Tmpl, Decl *New, 67 for (AttrVec::const_iterator i = Tmpl->attr_begin(), e = Tmpl->attr_end(); 2546 /// declaration (New) from the corresponding fields of its template (Tmpl). 2551 FunctionDecl *Tmpl) { 2552 if (Tmpl->isDeleted()) 2569 assert(FunTmpl->getTemplatedDecl() == Tmpl && 2577 const FunctionProtoType *Proto = Tmpl->getType()->getAs<FunctionProtoType>(); 2589 FunctionDecl *ExceptionSpecTemplate = Tmpl; 2613 const FunctionDecl *Definition = Tmpl; 63 InstantiateAttrs(const MultiLevelTemplateArgumentList &TemplateArgs, const Decl *Tmpl, Decl *New, LateInstantiatedAttrVec *LateAttrs, LocalInstantiationScope *OuterMostScope) argument 2550 InitFunctionInstantiation(FunctionDecl *New, FunctionDecl *Tmpl) argument 2628 InitMethodInstantiation(CXXMethodDecl *New, CXXMethodDecl *Tmpl) argument 2960 InstantiateMemInitializers(CXXConstructorDecl *New, const CXXConstructorDecl *Tmpl, const MultiLevelTemplateArgumentList &TemplateArgs) argument [all...] |
H A D | SemaLookup.cpp | 2377 } else if (FunctionTemplateDecl *Tmpl = 2380 AddMethodTemplateCandidate(Tmpl, DeclAccessPair::make(Tmpl, AS_public), 2385 AddTemplateOverloadCandidate(Tmpl, DeclAccessPair::make(Tmpl, AS_public),
|
/external/clang/include/clang/AST/ |
H A D | ASTContext.h | 559 /// the static data member template \p Tmpl of a class template. 560 void setInstantiatedFromStaticDataMember(VarDecl *Inst, VarDecl *Tmpl, 579 void setInstantiatedFromUnnamedFieldDecl(FieldDecl *Inst, FieldDecl *Tmpl);
|
/external/clang/lib/Serialization/ |
H A D | ASTReaderDecl.cpp | 872 if (FieldDecl *Tmpl = ReadDeclAs<FieldDecl>(Record, Idx)) 873 Reader.getContext().setInstantiatedFromUnnamedFieldDecl(FD, Tmpl); 915 VarDecl *Tmpl = ReadDeclAs<VarDecl>(Record, Idx); local 918 Reader.getContext().setInstantiatedFromStaticDataMember(VD, Tmpl, TSK,POI);
|
/external/clang/lib/AST/ |
H A D | ASTContext.cpp | 874 ASTContext::setInstantiatedFromStaticDataMember(VarDecl *Inst, VarDecl *Tmpl, argument 878 assert(Tmpl->isStaticDataMember() && "Not a static data member"); 882 = new (*this) MemberSpecializationInfo(Tmpl, TSK, PointOfInstantiation); 950 FieldDecl *Tmpl) { 952 assert(!Tmpl->getDeclName() && "Template field decl is not unnamed"); 956 InstantiatedFromUnnamedFieldDecl[Inst] = Tmpl; 949 setInstantiatedFromUnnamedFieldDecl(FieldDecl *Inst, FieldDecl *Tmpl) argument
|
/external/chromium/testing/gtest/include/gtest/internal/ |
H A D | gtest-type-util.h | 1620 // 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/gtest/include/gtest/internal/ |
H A D | gtest-type-util.h | 1625 // 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 D | gtest-type-util.h | 1625 // 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/protobuf/gtest/include/gtest/internal/ |
H A D | gtest-type-util.h | 1616 // 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;
|