llvm-project/clang/test/CXX/dcl.decl/dcl.meaning
David Majnemer 38a50c0a16 [Sema] Emit a better diagnostic when variable redeclarations disagree
We referred to all declaration in definitions in our diagnostic messages
which is can be inaccurate.  Instead, classify the declaration and emit
an appropriate diagnostic for the new declaration and an appropriate
note pointing to the old one.

This fixes PR24116.

llvm-svn: 242190
2015-07-14 20:08:49 +00:00
..
dcl.array [Sema] Emit a better diagnostic when variable redeclarations disagree 2015-07-14 20:08:49 +00:00
dcl.fct Don't crash on an invalid trailing return type on a function before a '...' 2014-12-30 02:06:40 +00:00
dcl.fct.default [Sema] Diagnose default argument on a parameter pack. 2015-03-27 13:58:31 +00:00
dcl.mptr Correct hyphenations in comments and assert messages 2013-12-05 04:47:09 +00:00
dcl.ref PR13110: Add a -Wignored-qualifiers warning when ignoring a const, volatile, or 2014-02-19 00:13:27 +00:00
p1-0x.cpp Don't emit an ExtWarn on declarations of variable template specializations; 2014-04-17 02:56:49 +00:00
p1.cpp Parse: Recover more gracefully from extra :: tokens before a { 2014-12-29 23:12:23 +00:00