Searched refs:TemplateArg (Results 1 - 3 of 3) sorted by relevance

/external/clang/test/SemaCXX/
H A Dimplicit-exception-spec.cpp27 struct TemplateArg { struct in namespace:InClassInitializers
28 int n = ExceptionIf<noexcept(TemplateArg())>::f(); // expected-error {{cannot be used by non-static data member initializer}}
30 bool x = noexcept(TemplateArg());
/external/clang/include/clang/AST/
H A DTemplateBase.h103 struct TA TemplateArg; member in union:clang::TemplateArgument::__anon15840
150 TemplateArg.Name = Name.getAsVoidPointer();
151 TemplateArg.NumExpansions = 0;
168 TemplateArg.Name = Name.getAsVoidPointer();
170 TemplateArg.NumExpansions = *NumExpansions + 1;
172 TemplateArg.NumExpansions = 0;
254 return TemplateName::getFromVoidPointer(TemplateArg.Name);
263 return TemplateName::getFromVoidPointer(TemplateArg.Name);
/external/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp4524 const TemplateArgument &TemplateArg,
4846 const TemplateArgument &TemplateArg,
4850 switch (TemplateArg.getKind()) {
4857 MarkUsedTemplateParameters(Ctx, TemplateArg.getNullPtrType(), OnlyDeduced,
4862 MarkUsedTemplateParameters(Ctx, TemplateArg.getAsType(), OnlyDeduced,
4869 TemplateArg.getAsTemplateOrTemplatePattern(),
4874 MarkUsedTemplateParameters(Ctx, TemplateArg.getAsExpr(), OnlyDeduced,
4879 for (TemplateArgument::pack_iterator P = TemplateArg.pack_begin(),
4880 PEnd = TemplateArg.pack_end();
4845 MarkUsedTemplateParameters(ASTContext &Ctx, const TemplateArgument &TemplateArg, bool OnlyDeduced, unsigned Depth, llvm::SmallBitVector &Used) argument

Completed in 182 milliseconds