]> granicus.if.org Git - clang/commit
[ms-cxxabi] Move MS inheritance model calculation into MemberPointerType
authorReid Kleckner <reid@kleckner.net>
Tue, 2 Apr 2013 16:23:57 +0000 (16:23 +0000)
committerReid Kleckner <reid@kleckner.net>
Tue, 2 Apr 2013 16:23:57 +0000 (16:23 +0000)
commit4410489163931892b568f0a43bd49c430a3aa3f5
tree5529c20adffda8cb6a8845cf001a0d38056239aa
parentb0707c9a933b1839fa966e4c72e4dcb9a198f11f
[ms-cxxabi] Move MS inheritance model calculation into MemberPointerType

Summary:
This makes it possible to share code between lib/AST/MicrosoftCXXABI.cpp
and lib/CodeGen/MicrosoftCXXABI.cpp.  No functionality change.

Also adds comments about the layout of the member pointer structs as I
currently understand them.

Reviewers: rjmccall

CC: timurrrr, cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D590

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178548 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/DeclCXX.h
include/clang/AST/Type.h
lib/AST/MicrosoftCXXABI.cpp