diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/clang/AST/DeclCXX.h | 10 | ||||
-rw-r--r-- | include/clang/AST/Type.h | 12 |
2 files changed, 10 insertions, 12 deletions
diff --git a/include/clang/AST/DeclCXX.h b/include/clang/AST/DeclCXX.h index 05ff49c64c..7afb45c23a 100644 --- a/include/clang/AST/DeclCXX.h +++ b/include/clang/AST/DeclCXX.h @@ -254,6 +254,16 @@ public: TypeSourceInfo *getTypeSourceInfo() const { return BaseTypeInfo; } }; +/// The inheritance model to use for member pointers of a given CXXRecordDecl. +enum MSInheritanceModel { + MSIM_Single, + MSIM_SinglePolymorphic, + MSIM_Multiple, + MSIM_MultiplePolymorphic, + MSIM_Virtual, + MSIM_Unspecified +}; + /// CXXRecordDecl - Represents a C++ struct/union/class. /// FIXME: This class will disappear once we've properly taught RecordDecl /// to deal with C++-specific things. diff --git a/include/clang/AST/Type.h b/include/clang/AST/Type.h index 23fa3e8765..e0402148b5 100644 --- a/include/clang/AST/Type.h +++ b/include/clang/AST/Type.h @@ -2092,14 +2092,6 @@ public: } }; -/// The inheritance model to use for this member pointer. -enum MSInheritanceModel { - MSIM_Single, - MSIM_Multiple, - MSIM_Virtual, - MSIM_Unspecified -}; - /// MemberPointerType - C++ 8.3.3 - Pointers to members /// class MemberPointerType : public Type, public llvm::FoldingSetNode { @@ -2135,10 +2127,6 @@ public: return !PointeeType->isFunctionProtoType(); } - /// Returns the number of pointer and integer slots used to represent this - /// member pointer in the MS C++ ABI. - std::pair<unsigned, unsigned> getMSMemberPointerSlots() const; - const Type *getClass() const { return Class; } bool isSugared() const { return false; } |