summaryrefslogtreecommitdiffstats
path: root/clang/test/Misc/tabstop.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix FileCheck --check-prefix lines.Tim Northover2013-08-121-3/+3
| | | | | | | | | | Various tests had sprung up over the years which had --check-prefix=ABC on the RUN line, but "CHECK-ABC:" later on. This happened to work before, but was strictly incorrect. FileCheck is getting stricter soon though. Patch by Ron Ofir. llvm-svn: 188174
* Improve fixit for comparison operator on lhs of bitwise operator.Nico Weber2012-06-031-0/+9
| | | | | | | | | | | | | | | | Before: test.cc:2:18: note: place parentheses around the == expression to silence this warning if (0 == flags & 0xdd) ^ ( ) Now: test.cc:2:18: note: place parentheses around the == expression to silence this warning if (0 == flags & 0xdd) ^ ( ) llvm-svn: 157897
* When diagnosing suspicious precedence or assignments, move the fix-itDouglas Gregor2010-04-141-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | that adds parentheses from the main diagnostic down to a new note. This way, when the fix-it represents a choice between two options, each of the options is associted with a note. There is no default option in such cases. For example: /Users/dgregor/t.c:2:9: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses] if (x & y == 0) { ^~~~~~~~ /Users/dgregor/t.c:2:9: note: place parentheses around the & expression to evaluate it first if (x & y == 0) { ^ ( ) /Users/dgregor/t.c:2:9: note: place parentheses around the == expression to silence this warning if (x & y == 0) { ^ ( ) llvm-svn: 101249
* Print fix-it hints properly around tabs, from Christian Adåker!Douglas Gregor2010-01-181-0/+20
| | | | llvm-svn: 93750
* testcase for -ftabstop, patch by Christian Adaker!Chris Lattner2010-01-121-0/+30
llvm-svn: 93260
OpenPOWER on IntegriCloud