]> granicus.if.org Git - clang/commitdiff
non-POD members => make it a class (also silences MSVC warnings)
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 18 Oct 2009 18:56:13 +0000 (18:56 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 18 Oct 2009 18:56:13 +0000 (18:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84426 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/CXXInheritance.h

index a57bcc184a936260f5c2cc5b13a70385ab1ef217..7c826fe75d11e5194d96853f1036ad75b6336ec3 100644 (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;