/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 | 117 } else if (const RedeclarableTemplateDecl *Tmpl 119 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/lib/Sema/ |
H A D | SemaTemplateInstantiateDecl.cpp | 134 const EnableIfAttr *A, const Decl *Tmpl, Decl *New) { 152 !Expr::isPotentialConstantExprUnevaluated(Cond, cast<FunctionDecl>(Tmpl), 168 const Decl *Tmpl, Decl *New, 171 for (const auto *TmplAttr : Tmpl->attrs()) { 181 instantiateDependentEnableIfAttr(*this, TemplateArgs, EnableIf, Tmpl, 3177 /// declaration (New) from the corresponding fields of its template (Tmpl). 3182 FunctionDecl *Tmpl) { 3183 if (Tmpl->isDeleted()) 3188 SemaRef.Context.getManglingNumber(Tmpl)); 3204 assert(FunTmpl->getTemplatedDecl() == Tmpl 132 instantiateDependentEnableIfAttr( Sema &S, const MultiLevelTemplateArgumentList &TemplateArgs, const EnableIfAttr *A, const Decl *Tmpl, Decl *New) argument 167 InstantiateAttrs(const MultiLevelTemplateArgumentList &TemplateArgs, const Decl *Tmpl, Decl *New, LateInstantiatedAttrVec *LateAttrs, LocalInstantiationScope *OuterMostScope) argument 3181 InitFunctionInstantiation(FunctionDecl *New, FunctionDecl *Tmpl) argument 3262 InitMethodInstantiation(CXXMethodDecl *New, CXXMethodDecl *Tmpl) argument 3758 VarTemplatePartialSpecializationDecl *Tmpl = local 3769 VarTemplateDecl *Tmpl = PatternPtr.get<VarTemplateDecl *>(); local 4005 InstantiateMemInitializers(CXXConstructorDecl *New, const CXXConstructorDecl *Tmpl, const MultiLevelTemplateArgumentList &TemplateArgs) argument [all...] |
H A D | SemaLookup.cpp | 2504 } else if (FunctionTemplateDecl *Tmpl = 2507 AddMethodTemplateCandidate(Tmpl, DeclAccessPair::make(Tmpl, AS_public), 2512 AddTemplateOverloadCandidate(Tmpl, DeclAccessPair::make(Tmpl, AS_public),
|
H A D | SemaTemplateInstantiate.cpp | 87 VarTemplateDecl *Tmpl = Specialized.get<VarTemplateDecl *>(); local 88 if (Tmpl->isMemberSpecialization())
|
/external/clang/include/clang/Sema/ |
H A D | Template.h | 482 bool InitFunctionInstantiation(FunctionDecl *New, FunctionDecl *Tmpl); 483 bool InitMethodInstantiation(CXXMethodDecl *New, CXXMethodDecl *Tmpl);
|
H A D | Sema.h | 6737 const CXXConstructorDecl *Tmpl,
|
/external/clang/include/clang/AST/ |
H A D | ASTContext.h | 695 /// the static data member template \p Tmpl of a class template. 696 void setInstantiatedFromStaticDataMember(VarDecl *Inst, VarDecl *Tmpl, 718 void setInstantiatedFromUnnamedFieldDecl(FieldDecl *Inst, FieldDecl *Tmpl);
|
/external/clang/lib/AST/ |
H A D | DeclCXX.cpp | 1037 if (FunctionTemplateDecl *Tmpl = CallOp->getDescribedFunctionTemplate()) 1038 return Tmpl->getTemplateParameters();
|
H A D | ASTContext.cpp | 1102 ASTContext::setInstantiatedFromStaticDataMember(VarDecl *Inst, VarDecl *Tmpl, argument 1106 assert(Tmpl->isStaticDataMember() && "Not a static data member"); 1108 Tmpl, TSK, PointOfInstantiation)); 1184 FieldDecl *Tmpl) { 1186 assert(!Tmpl->getDeclName() && "Template field decl is not unnamed"); 1190 InstantiatedFromUnnamedFieldDecl[Inst] = Tmpl; 1183 setInstantiatedFromUnnamedFieldDecl(FieldDecl *Inst, FieldDecl *Tmpl) argument
|
/external/clang/lib/Serialization/ |
H A D | ASTReaderDecl.cpp | 960 if (FieldDecl *Tmpl = ReadDeclAs<FieldDecl>(Record, Idx)) 961 Reader.getContext().setInstantiatedFromUnnamedFieldDecl(FD, Tmpl); 1028 VarDecl *Tmpl = ReadDeclAs<VarDecl>(Record, Idx); local 1031 Reader.getContext().setInstantiatedFromStaticDataMember(VD, Tmpl, TSK,POI);
|
/external/clang/lib/CodeGen/ |
H A D | CGDebugInfo.cpp | 1488 if (FunctionDecl *Tmpl = I->getInstantiatedFromMemberFunction()) 1489 if (!Tmpl->isImplicit() && Tmpl->isThisDeclarationADefinition() &&
|
/external/chromium_org/testing/gtest/include/gtest/internal/ |
H A D | gtest-type-util.h | 1624 // The template "selector" struct TemplateSel<Tmpl> is used to 1625 // represent Tmpl, which must be a class template with one type 1626 // parameter, as a type. TemplateSel<Tmpl>::Bind<T>::type is defined 1627 // as the type Tmpl<T>. This allows us to actually instantiate the 1628 // template "selected" by TemplateSel<Tmpl>. 1632 template <GTEST_TEMPLATE_ Tmpl> 1636 typedef Tmpl<T> type;
|
/external/chromium_org/third_party/mesa/src/src/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/gtest/include/gtest/internal/ |
H A D | gtest-type-util.h | 1624 // The template "selector" struct TemplateSel<Tmpl> is used to 1625 // represent Tmpl, which must be a class template with one type 1626 // parameter, as a type. TemplateSel<Tmpl>::Bind<T>::type is defined 1627 // as the type Tmpl<T>. This allows us to actually instantiate the 1628 // template "selected" by TemplateSel<Tmpl>. 1632 template <GTEST_TEMPLATE_ Tmpl> 1636 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/mesa3d/src/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/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;
|
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/googletest/src/include/gtest/ |
H A D | gtest.h | 5316 // 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;
|
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/ |
H A D | gtest.h | 5316 // 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;
|