summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2014-04-02 18:28:36 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2014-04-02 18:28:36 +0000
commitce167d998928ace8e12dd0edf7b5104850b2b325 (patch)
tree697fe8d8f5c02a77f4c846b69472d237a64cbf1a /lib/CodeGen/CodeGenFunction.cpp
parenta423c1ba2fc8e912e638854851733bc9a9148520 (diff)
downloadclang-ce167d998928ace8e12dd0edf7b5104850b2b325.tar.gz
clang-ce167d998928ace8e12dd0edf7b5104850b2b325.tar.bz2
clang-ce167d998928ace8e12dd0edf7b5104850b2b325.tar.xz
PR19305: Don't issue -Wunused-variable warnings on variable templates. It's not
meaningful to odr-use the VarDecl inside a variable template. (Separately, it'd be nice to track referenced-ness for templates, and warn on unused ones, but that's really a distinct issue...) Move a test that generates and tests a warning-suppressing error out to its own test file, so it doesn't have weird effects on the other tests in the same file. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205448 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions