71fcba874e399eb33e0ebf7c6b19bc2a5e876993 |
|
11-Sep-2013 |
Daniel Jasper <djasper@google.com> |
Split -Wunused-variable warning. With r190382, -Wunused-variable warns about unused const variables when appropriate. For codebases that use -Werror, this poses a problem as existing unused const variables need to be cleaned up first. To make the transistion easier, this patch splits -Wunused-variable by pulling out an additional -Wunused-const-variable (by default activated along with -Wunused-variable). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190508 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/no-warn-unused-const-variables.cpp
|