[cfe-commits] r84426 - /cfe/trunk/include/clang/AST/CXXInheritance.h

Benjamin Kramer benny.kra at googlemail.com
Sun Oct 18 11:56:14 PDT 2009


Author: d0k
Date: Sun Oct 18 13:56:13 2009
New Revision: 84426

URL: http://llvm.org/viewvc/llvm-project?rev=84426&view=rev
Log:
non-POD members => make it a class (also silences MSVC warnings)

Modified:
    cfe/trunk/include/clang/AST/CXXInheritance.h

Modified: cfe/trunk/include/clang/AST/CXXInheritance.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/CXXInheritance.h?rev=84426&r1=84425&r2=84426&view=diff

==============================================================================
--- cfe/trunk/include/clang/AST/CXXInheritance.h (original)
+++ cfe/trunk/include/clang/AST/CXXInheritance.h Sun Oct 18 13:56:13 2009
@@ -63,7 +63,8 @@
 /// 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;





More information about the cfe-commits mailing list