reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaTemplate.cpp
 2347       if (::DiagnoseUnexpandedParameterPacks(*this, NewTemplateParm)) {
 2353       if (NewTemplateParm->hasDefaultArgument() &&
 2355                                           NewTemplateParm->getLocation(),
 2356                      NewTemplateParm->getDefaultArgument().getSourceRange()))
 2357         NewTemplateParm->removeDefaultArgument();
 2362       if (NewTemplateParm->isParameterPack()) {
 2363         assert(!NewTemplateParm->hasDefaultArgument() &&
 2365         if (!NewTemplateParm->isPackExpansion())
 2369                  NewTemplateParm->hasDefaultArgument() &&
 2372         NewDefaultLoc = NewTemplateParm->getDefaultArgument().getLocation();
 2379         NewTemplateParm->setInheritedDefaultArgument(Context, OldTemplateParm);
 2382       } else if (NewTemplateParm->hasDefaultArgument()) {
 2385           = NewTemplateParm->getDefaultArgument().getLocation();