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

References

tools/clang/lib/Sema/SemaDeclCXX.cpp
  398         if (Param->hasUnparsedDefaultArg()) {
  406             SR = UnparsedDefaultArgLocs[Param];
  407           Diag(Param->getLocation(), diag::err_param_default_argument_nonfunc)
  409         } else if (Param->getDefaultArg()) {
  410           Diag(Param->getLocation(), diag::err_param_default_argument_nonfunc)
  411             << Param->getDefaultArg()->getSourceRange();
  412           Param->setDefaultArg(nullptr);