summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/ParseStmt.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-09-28 20:38:10 +0000
committerDouglas Gregor <dgregor@apple.com>2010-09-28 20:38:10 +0000
commit9d5938ae8a117868a8258e6c2ca6f444e31274fd (patch)
tree3525fff120a6e19745c63aaf64a669396db6605b /clang/lib/Parse/ParseStmt.cpp
parent750272d912f1233d12206782d75dabbc690770b2 (diff)
downloadbcm5719-llvm-9d5938ae8a117868a8258e6c2ca6f444e31274fd.tar.gz
bcm5719-llvm-9d5938ae8a117868a8258e6c2ca6f444e31274fd.zip
Centralize the management of CXXRecordDecl::DefinitionData's Empty bit
in CXXRecordDecl itself. Yes, this is also part of <rdar://problem/8459981>. This reinstates r114924, with one crucial bug fix: we were ignoring the implicit fields created by anonymous structs/unions when updating the bits in CXXRecordDecl, which means that a class/struct containing only an anonymous class/struct would be considered "empty". Hilarity follows. llvm-svn: 114980
Diffstat (limited to 'clang/lib/Parse/ParseStmt.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud