llvm-project/clang/test/CXX
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
..
basic [Sema] Don't crash if array bound calculation overflowed constexpr array 2015-04-18 04:55:51 +00:00
class DR1909: Diagnose all invalid cases of a class member sharing its name with the class. 2015-07-06 01:45:27 +00:00
class.access Add a new flag, -fspell-checking-limit=<number> to control how many times we'll do spell checking. Note that spell checking will change the produced AST, so we don't automatically change this value when someone sets -ferror-limit=. With this, merge test typo-correction-pt2.cpp into typo-correction.cpp. 2014-12-16 21:39:02 +00:00
class.derived PR6037 2015-01-19 01:44:02 +00:00
conv PR6037 2015-01-19 01:44:02 +00:00
dcl.dcl DR1909: Diagnose all invalid cases of a class member sharing its name with the class. 2015-07-06 01:45:27 +00:00
dcl.decl [Sema] Emit a better diagnostic when variable redeclarations disagree 2015-07-14 20:08:49 +00:00
drs DR1909: Diagnose all invalid cases of a class member sharing its name with the class. 2015-07-06 01:45:27 +00:00
except Update clang to take into account the changes to personality fns 2015-06-17 20:53:19 +00:00
expr Revert "Revert r241620 and follow-up commits" and move the initialization 2015-07-08 01:00:30 +00:00
lex Add driver flags -ftrigraphs, -fno-trigraphs. 2014-12-23 22:32:37 +00:00
over Implement [over.match.oper]p3 properly, by filtering the non-candidates out 2014-04-17 01:52:14 +00:00
special Unify warnings/errors from "maybe you meant" to "did you mean". 2015-04-02 22:10:06 +00:00
stmt.stmt Sema: Allow 'constexpr' variables in range loops 2015-02-18 18:34:59 +00:00
temp PR20073: promote "dereference of 'void*'" from Extension to ExtWarn. 2015-05-19 01:41:12 +00:00