Add a Class field to the base path element structure. This holds the record decl of the class taht the base is a base of.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67859 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaInherit.cpp b/lib/Sema/SemaInherit.cpp
index c572f62..cc495c5 100644
--- a/lib/Sema/SemaInherit.cpp
+++ b/lib/Sema/SemaInherit.cpp
@@ -132,6 +132,7 @@
// Add this base specifier to the current path.
BasePathElement Element;
Element.Base = &*BaseSpec;
+ Element.Class = Class;
if (BaseSpec->isVirtual())
Element.SubobjectNumber = 0;
else