diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2011-05-02 01:48:46 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2011-05-02 01:48:46 +0000 |
commit | e099c00a065c3a43706b8da71cfe655ff7a2c1c6 (patch) | |
tree | cf633446a23c77f048322a7fb8b6cb47c5376e9c /lib/CodeGen/CGRecordLayoutBuilder.cpp | |
parent | 7d4b159c0e47f4e78e25cb298430be4fdf415bb7 (diff) |
Remove redeclaration of Invalid. The code that set this to true was updating an
Invalid that was never read from again, causing non-type-template-parms to be
marked valid when in fact they weren't.
This was caught by GCC 4.6's -Wunused-but-set-variable warning.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130680 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGRecordLayoutBuilder.cpp')
0 files changed, 0 insertions, 0 deletions