summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-05-08 23:05:03 +0000
committerDouglas Gregor <dgregor@apple.com>2010-05-08 23:05:03 +0000
commit5764f613e61cb3183f3d7ceeafd23396de96ed16 (patch)
tree75c809eafa8232c6f8baec88596392cf718d7a5e /lib/CodeGen/CodeGenModule.h
parentc6dfe194f623b02c123759f235b504d4850fc178 (diff)
downloadclang-5764f613e61cb3183f3d7ceeafd23396de96ed16.tar.gz
clang-5764f613e61cb3183f3d7ceeafd23396de96ed16.tar.bz2
clang-5764f613e61cb3183f3d7ceeafd23396de96ed16.tar.xz
Improve our handling of the -Wunused-variable warning in templates. In
particular, don't complain about unused variables that have dependent type until instantiation time, so that we can look at the type of the variable. Moreover, only complain about unused variables that have neither a user-declared constructor nor a non-trivial destructor. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103362 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions