From 4e0f5adc7cfaa859525e14d3f91f2233d1bdd282 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sun, 18 Oct 2009 18:56:13 +0000 Subject: [PATCH] non-POD members => make it a class (also silences MSVC warnings) llvm-svn: 84426 --- clang/include/clang/AST/CXXInheritance.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clang/include/clang/AST/CXXInheritance.h b/clang/include/clang/AST/CXXInheritance.h index a57bcc184a93..7c826fe75d11 100644 --- a/clang/include/clang/AST/CXXInheritance.h +++ b/clang/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;