aboutsummaryrefslogtreecommitdiff
path: root/clang/test/SemaCXX/array-bound-merge.cpp
AgeCommit message (Collapse)AuthorFilesLines
2015-07-14[Sema] Emit a better diagnostic when variable redeclarations disagreeDavid Majnemer1-1/+1
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
2012-12-13Using CanQualType::getAs<ArrayType> is unsafe; fix the code currently using it,Eli Friedman1-0/+3
and make sure additional uses don't get introduced. <rdar://problem/12858424>. llvm-svn: 170081
2012-07-07Reject 'int a[1][];' in Sema rather than crashing in IR generation. Found by aRichard Smith1-0/+2
misreduction of PR13290. llvm-svn: 159905
2009-12-15Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar1-1/+1
- This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
2009-12-10Fix for PR5515: allow "merging" array bounds both forwards and backwards.Eli Friedman1-0/+9
llvm-svn: 91044