summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/array-bound-merge.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [Sema] Emit a better diagnostic when variable redeclarations disagreeDavid Majnemer2015-07-141-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
* Using CanQualType::getAs<ArrayType> is unsafe; fix the code currently using it,Eli Friedman2012-12-131-0/+3
| | | | | | and make sure additional uses don't get introduced. <rdar://problem/12858424>. llvm-svn: 170081
* Reject 'int a[1][];' in Sema rather than crashing in IR generation. Found by aRichard Smith2012-07-071-0/+2
| | | | | | misreduction of PR13290. llvm-svn: 159905
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-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
* Fix for PR5515: allow "merging" array bounds both forwards and backwards.Eli Friedman2009-12-101-0/+9
llvm-svn: 91044
OpenPOWER on IntegriCloud