Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make -Wunused warning rules more consistent. | Eli Friedman | 2013-09-10 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | This patch does a few different things. This patch improves unused var diags for const vars: we no longer unconditionally suppress diagnostics for const vars, instead only suppressing the diagnostic when the declaration appears to be useful. This patch also makes us more consistently use whether a variable/function is declared in the main file to suppress diagnostics where appropriate. Fixes <rdar://problem/14907887>. llvm-svn: 190382 | ||||
* | Suppress -Wunused-variable for variables declared in headers, which may in | Matt Beaumont-Gay | 2013-04-10 | 1 | -0/+11 |
fact be defined and used in another TU. Reshuffle some test cases because we suppress -Wunused-variable after we've emitted an error. This fixes PR15558. llvm-svn: 179138 |