From: Benjamin Kramer Date: Sun, 18 Oct 2009 18:56:13 +0000 (+0000) Subject: non-POD members => make it a class (also silences MSVC warnings) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4e0e2f1c5fde88a235d71a6f4f87f5c3fcaab7ac;p=clang non-POD members => make it a class (also silences MSVC warnings) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84426 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/CXXInheritance.h b/include/clang/AST/CXXInheritance.h index a57bcc184a..7c826fe75d 100644 --- a/include/clang/AST/CXXInheritance.h +++ b/include/clang/AST/CXXInheritance.h @@ -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 { +class CXXBasePath : public llvm::SmallVector { +public: /// \brief The set of declarations found inside this base class /// subobject. DeclContext::lookup_result Decls;