Home | History | Annotate | Download | only in Sema

Lines Matching refs:TemplateArgument

101     TemplateArgument Old;
264 TemplateArgument ForgetPartiallySubstitutedPack() {
265 return TemplateArgument();
273 void RememberPartiallySubstitutedPack(TemplateArgument Arg) { }
527 /// \brief Fakes up a TemplateArgumentLoc for a given TemplateArgument.
528 void InventTemplateArgumentLoc(const TemplateArgument &Arg,
1021 const TemplateArgument &ArgPack) {
2546 case TemplateArgument::Expression: {
2556 case TemplateArgument::Template:
2557 return TemplateArgumentLoc(TemplateArgument(
2564 case TemplateArgument::Null:
2565 case TemplateArgument::Integral:
2566 case TemplateArgument::Declaration:
2567 case TemplateArgument::Pack:
2568 case TemplateArgument::TemplateExpansion:
2569 case TemplateArgument::NullPtr:
2572 case TemplateArgument::Type:
2577 return TemplateArgumentLoc(TemplateArgument(Expansion->getType()),
3094 const TemplateArgument &Arg,
3098 case TemplateArgument::Null:
3102 case TemplateArgument::Type:
3108 case TemplateArgument::Template:
3109 case TemplateArgument::TemplateExpansion: {
3117 if (Arg.getKind() == TemplateArgument::Template)
3129 case TemplateArgument::Expression:
3133 case TemplateArgument::Declaration:
3134 case TemplateArgument::Integral:
3135 case TemplateArgument::Pack:
3136 case TemplateArgument::NullPtr:
3146 const TemplateArgument &Arg = Input.getArgument();
3148 case TemplateArgument::Null:
3149 case TemplateArgument::Integral:
3150 case TemplateArgument::Pack:
3151 case TemplateArgument::Declaration:
3152 case TemplateArgument::NullPtr:
3153 llvm_unreachable("Unexpected TemplateArgument");
3155 case TemplateArgument::Type: {
3163 Output = TemplateArgumentLoc(TemplateArgument(DI->getType()), DI);
3167 case TemplateArgument::Template: {
3183 Output = TemplateArgumentLoc(TemplateArgument(Template), QualifierLoc,
3188 case TemplateArgument::TemplateExpansion:
3191 case TemplateArgument::Expression: {
3202 Output = TemplateArgumentLoc(TemplateArgument(E.take()), E.take());
3279 if (In.getArgument().getKind() == TemplateArgument::Pack) {
3286 TemplateArgument::pack_iterator>