[PATCH] D47101: [Sema] Use %sub to cleanup overload diagnostics

Eric Fiselier via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 18 21:50:06 PDT 2018


EricWF created this revision.
EricWF added a reviewer: rsmith.

This patch adds the newly added `%sub` diagnostic modifier to cleanup repetition in the overload candidate diagnostics.

I think this should be good to go.

@rsmith: Some of the notes now emit `function template` where they only said `function` previously. It seems OK to me, but I would like your sign off on it.


Repository:
  rC Clang

https://reviews.llvm.org/D47101

Files:
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Sema/SemaOverload.cpp
  test/CXX/drs/dr4xx.cpp
  test/CXX/special/class.inhctor/p1.cpp
  test/SemaCXX/attr-noreturn.cpp
  test/SemaCXX/cxx1y-generic-lambdas.cpp
  test/SemaCXX/overload-call.cpp
  test/SemaCXX/overload-member-call.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47101.147649.patch
Type: text/x-patch
Size: 44407 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180519/da0233a8/attachment-0001.bin>


More information about the cfe-commits mailing list