summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprConstant.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2013-12-21 00:49:51 +0000
committerNico Weber <nicolasweber@gmx.de>2013-12-21 00:49:51 +0000
commitfe0f2e11ea73c0ea66370de8c44849108541acfd (patch)
treecaf3495e57f3d578937888e786b17832ab001689 /lib/CodeGen/CGExprConstant.cpp
parent2a50f239a90d670b3911cae9024b363cbfae87cc (diff)
downloadclang-fe0f2e11ea73c0ea66370de8c44849108541acfd.tar.gz
clang-fe0f2e11ea73c0ea66370de8c44849108541acfd.tar.bz2
clang-fe0f2e11ea73c0ea66370de8c44849108541acfd.tar.xz
Don't mark record decls invalid when one of its methods is invalid, PR18284.
Without this patch, record decls with invalid out-of-line method delcs would sometimes be marked invalid, but not always. With this patch, they are consistently never marked invalid. (The code to do this was added in http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20100809/033154.html , but the test from that revision is still passing.) As far as I can tell, this was the only place where a class was marked invalid after its definition was complete. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197848 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions