non-POD members => make it a class (also silences MSVC warnings)

llvm-svn: 84426
This commit is contained in:
Benjamin Kramer 2009-10-18 18:56:13 +00:00
parent 936d87b39d
commit 4e0f5adc7c
1 changed files with 2 additions and 1 deletions

View File

@ -63,7 +63,8 @@ struct CXXBasePathElement {
/// structure, which captures both the link from a derived class to one of its
/// direct bases and identification describing which base class
/// subobject is being used.
struct CXXBasePath : public llvm::SmallVector<CXXBasePathElement, 4> {
class CXXBasePath : public llvm::SmallVector<CXXBasePathElement, 4> {
public:
/// \brief The set of declarations found inside this base class
/// subobject.
DeclContext::lookup_result Decls;