Home
last modified time | relevance | path

Searched refs:TemplateArg (Results 1 – 4 of 4) sorted by relevance

/external/clang/include/clang/AST/
DTemplateBase.h113 struct TA TemplateArg; member
162 TemplateArg.Kind = Template; in TemplateArgument()
163 TemplateArg.Name = Name.getAsVoidPointer(); in TemplateArgument()
164 TemplateArg.NumExpansions = 0; in TemplateArgument()
179 TemplateArg.Kind = TemplateExpansion; in TemplateArgument()
180 TemplateArg.Name = Name.getAsVoidPointer(); in TemplateArgument()
182 TemplateArg.NumExpansions = *NumExpansions + 1; in TemplateArgument()
184 TemplateArg.NumExpansions = 0; in TemplateArgument()
263 return TemplateName::getFromVoidPointer(TemplateArg.Name); in getAsTemplate()
272 return TemplateName::getFromVoidPointer(TemplateArg.Name); in getAsTemplateOrTemplatePattern()
/external/clang/test/SemaCXX/
Dimplicit-exception-spec.cpp26 struct TemplateArg { struct
27 …int n = ExceptionIf<noexcept(TemplateArg())>::f(); // expected-error {{cannot use defaulted defaul…
/external/clang/lib/AST/
DTemplateBase.cpp240 if (TemplateArg.NumExpansions) in getNumTemplateExpansions()
241 return TemplateArg.NumExpansions - 1; in getNumTemplateExpansions()
/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp4650 const TemplateArgument &TemplateArg,
4972 const TemplateArgument &TemplateArg, in MarkUsedTemplateParameters() argument
4976 switch (TemplateArg.getKind()) { in MarkUsedTemplateParameters()
4983 MarkUsedTemplateParameters(Ctx, TemplateArg.getNullPtrType(), OnlyDeduced, in MarkUsedTemplateParameters()
4988 MarkUsedTemplateParameters(Ctx, TemplateArg.getAsType(), OnlyDeduced, in MarkUsedTemplateParameters()
4995 TemplateArg.getAsTemplateOrTemplatePattern(), in MarkUsedTemplateParameters()
5000 MarkUsedTemplateParameters(Ctx, TemplateArg.getAsExpr(), OnlyDeduced, in MarkUsedTemplateParameters()
5005 for (const auto &P : TemplateArg.pack_elements()) in MarkUsedTemplateParameters()