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

References

tools/clang/lib/Sema/SemaDeclCXX.cpp
  448   FunctionDecl *PrevForDefaultArgs = Old;
  626       New->getMinRequiredArguments() < Old->getMinRequiredArguments()) {
  628                      OldSM = getSpecialMember(cast<CXXMethodDecl>(Old));
  634       Diag(Old->getLocation(), diag::note_previous_declaration);
  642   if (New->getConstexprKind() != Old->getConstexprKind()) {
  644         << New << New->getConstexprKind() << Old->getConstexprKind();
  645     Diag(Old->getLocation(), diag::note_previous_declaration);
  647   } else if (!Old->getMostRecentDecl()->isInlined() && New->isInlined() &&
  648              Old->isDefined(Def) &&
  669     Diag(Old->getLocation(), diag::note_previous_declaration);
  676   if (Old->getFriendObjectKind() == Decl::FOK_Undeclared &&
  677       functionDeclHasDefaultArgument(Old)) {
  679     Diag(Old->getLocation(), diag::note_previous_declaration);