diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2009-10-18 18:56:13 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2009-10-18 18:56:13 +0000 |
commit | 4e0e2f1c5fde88a235d71a6f4f87f5c3fcaab7ac (patch) | |
tree | efdce68cf4efa8da5794d43d65b1aa4646f477ca /include/clang/AST/CXXInheritance.h | |
parent | 82debc7d282e723e58d183bfa89ddc2500a8daaf (diff) |
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
Diffstat (limited to 'include/clang/AST/CXXInheritance.h')
-rw-r--r-- | include/clang/AST/CXXInheritance.h | 3 |
1 files changed, 2 insertions, 1 deletions
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<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; |