commit | de80ec1fa947855d2e53722a8cd71367ff513481 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Tue Jul 13 08:50:30 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Tue Jul 13 08:50:30 2010 +0000 |
tree | 22ceaf6afd0878c875e743c4e8e82fd6a12d29dc | |
parent | 218f47ff746b2216e949e79a287c034fd0bd8713 [diff] |
Improve diagnostics for the "type qualifier on return type has no effect warning" by printing the qualifiers we saw and correctly pluralizing the message, e.g., test/SemaCXX/conditional-expr.cpp:295:3: warning: 'const volatile' type qualifiers on return type have no effect const volatile Enum g2() { ^~~~~ ~~~~~~~~ git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108236 91177308-0d34-0410-b5e6-96231b3b80d8