diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-07-13 08:50:30 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-07-13 08:50:30 +0000 |
commit | e82f0873780b72d49b294801d47e7f53bfca8645 (patch) | |
tree | 96a872f6ddcd54d63d4dfe3b66882506eb126bf1 /clang/lib/Frontend/FrontendActions.cpp | |
parent | f5b160f89c0ac539667d4e739ff699949ad465fa (diff) | |
download | bcm5719-llvm-e82f0873780b72d49b294801d47e7f53bfca8645.tar.gz bcm5719-llvm-e82f0873780b72d49b294801d47e7f53bfca8645.zip |
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() {
^~~~~ ~~~~~~~~
llvm-svn: 108236
Diffstat (limited to 'clang/lib/Frontend/FrontendActions.cpp')
0 files changed, 0 insertions, 0 deletions