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

References

tools/clang/lib/Sema/SemaTemplate.cpp
 2300       if (!NewNonTypeParm->isParameterPack() &&
 2301           DiagnoseUnexpandedParameterPack(NewNonTypeParm->getLocation(),
 2302                                           NewNonTypeParm->getTypeSourceInfo(),
 2309       if (NewNonTypeParm->hasDefaultArgument() &&
 2311                                           NewNonTypeParm->getLocation(),
 2312                     NewNonTypeParm->getDefaultArgument()->getSourceRange())) {
 2313         NewNonTypeParm->removeDefaultArgument();
 2319       if (NewNonTypeParm->isParameterPack()) {
 2320         assert(!NewNonTypeParm->hasDefaultArgument() &&
 2322         if (!NewNonTypeParm->isPackExpansion())
 2325                  NewNonTypeParm->hasDefaultArgument() &&
 2328         NewDefaultLoc = NewNonTypeParm->getDefaultArgumentLoc();
 2335         NewNonTypeParm->setInheritedDefaultArgument(Context, OldNonTypeParm);
 2337       } else if (NewNonTypeParm->hasDefaultArgument()) {
 2339         PreviousDefaultArgLoc = NewNonTypeParm->getDefaultArgumentLoc();