llvm-project/clang/test/CXX
Eric Fiselier 92e523bf55 [Sema] Use %sub to cleanup overload diagnostics
Summary:
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.


Reviewers: rsmith, EricWF

Reviewed By: EricWF

Subscribers: cfe-commits, rsmith

Differential Revision: https://reviews.llvm.org/D47101

llvm-svn: 333485
2018-05-30 01:00:41 +00:00
..
basic Add a "vexing parse" warning for ambiguity between a variable declaration and a 2017-09-29 23:57:25 +00:00
class Adjust and fix failing CXX tests after r332799 2018-05-19 03:33:56 +00:00
class.access Switch from using a DiagnosticTrap and a note for "while defining a special 2017-05-25 22:47:05 +00:00
class.derived Add context note to diagnostics that occur while declaring an implicit special member function. 2017-02-23 21:43:43 +00:00
concepts-ts Remove old concepts parsing code 2017-12-07 00:34:20 +00:00
conv Driver: hoist the `wchar_t` handling to the driver 2017-10-06 23:09:55 +00:00
cpp/cpp.predefined P0035R4: add predefined __STDCPP_DEFAULT_NEW_ALIGNMENT__ macro. By default, we 2016-09-30 22:41:36 +00:00
dcl.dcl Allow [[maybe_unused]] on static data members; these are considered variables and the attribute should appertain to them. 2018-04-12 12:21:41 +00:00
dcl.decl [Sema] Improve test coverage of narrowing conversion diagnostics 2018-03-02 10:03:02 +00:00
drs [Sema] Use %sub to cleanup overload diagnostics 2018-05-30 01:00:41 +00:00
except [Sema][Crash] Correctly handle an non-dependent noexcept expr in function template 2017-10-12 23:01:53 +00:00
expr PR37450: Fix bug that disabled some type checks for variables with deduced types. 2018-05-14 20:15:04 +00:00
lex Convert test/CXX/lex/lex.literal/lex.string/p4.cpp back to DOS line 2016-01-04 10:17:48 +00:00
modules-ts Bring r325915 back. 2018-02-23 19:30:48 +00:00
over [Sema] Improve diagnostics for const- and ref-qualified member functions 2017-12-31 18:27:29 +00:00
special [Sema] Use %sub to cleanup overload diagnostics 2018-05-30 01:00:41 +00:00
stmt.stmt [C++17] Allow an empty expression in an if init statement 2018-03-17 21:42:10 +00:00
temp Parse A::template B as an identifier rather than as a template-id with no 2018-04-27 02:00:13 +00:00