]> granicus.if.org Git - clang/commit
Simplify RecordDeclCXX::setBases slightly. No functional change.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 18 Oct 2011 20:08:55 +0000 (20:08 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 18 Oct 2011 20:08:55 +0000 (20:08 +0000)
commitdd67723af339f94870149ee1934dd652f83ca738
treec5b40faa2427b456bbadc26c2fc04692d16e2dfb
parentf4072ae44b70a7ac234c47c146157fee75437e38
Simplify RecordDeclCXX::setBases slightly. No functional change.

Add test that a variadic base list which expands to 0 bases doesn't make the
class a non-aggregate. This test passed before the change, too.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142411 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/DeclCXX.cpp
test/CXX/dcl.decl/dcl.init/dcl.init.aggr/p1-0x.cpp