llvm-project/clang/test/SemaCXX/Inputs
Eli Friedman 5ef2175866 Make -Wunused warning rules more consistent.
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
2013-09-10 03:05:56 +00:00
..
array-bounds-system-header.h
lit.local.cfg
malloc.h
register.h Suppress the c++11 -Wdeprecated warning for 'register' if it is expanded from a 2013-06-14 21:05:24 +00:00
warn-new-overaligned-3.h Don't warn on use of default allocator with an over-aligned type when the 2012-02-04 03:30:14 +00:00
warn-unused-variables.h Make -Wunused warning rules more consistent. 2013-09-10 03:05:56 +00:00