@@ -67,23 +67,27 @@ class Type : public std::enable_shared_from_this<Type>, public UserID {
6767public:
6868 enum EncodingDataType {
6969 eEncodingInvalid,
70- eEncodingIsUID, // /< This type is the type whose UID is m_encoding_uid
71- eEncodingIsConstUID, // /< This type is the type whose UID is m_encoding_uid
72- // / with the const qualifier added
73- eEncodingIsRestrictUID, // /< This type is the type whose UID is
74- // / m_encoding_uid with the restrict qualifier added
75- eEncodingIsVolatileUID, // /< This type is the type whose UID is
76- // / m_encoding_uid with the volatile qualifier added
77- eEncodingIsTypedefUID, // /< This type is pointer to a type whose UID is
78- // / m_encoding_uid
79- eEncodingIsPointerUID, // /< This type is pointer to a type whose UID is
80- // / m_encoding_uid
81- eEncodingIsLValueReferenceUID, // /< This type is L value reference to a type
82- // / whose UID is m_encoding_uid
83- eEncodingIsRValueReferenceUID, // /< This type is R value reference to a type
84- // / whose UID is m_encoding_uid,
85- eEncodingIsAtomicUID, // /< This type is the type whose UID is
86- // / m_encoding_uid as an atomic type.
70+ // / This type is the type whose UID is m_encoding_uid.
71+ eEncodingIsUID,
72+ // / This type is the type whose UID is m_encoding_uid with the const
73+ // / qualifier added.
74+ eEncodingIsConstUID,
75+ // / This type is the type whose UID is m_encoding_uid with the restrict
76+ // / qualifier added.
77+ eEncodingIsRestrictUID,
78+ // / This type is the type whose UID is m_encoding_uid with the volatile
79+ // / qualifier added.
80+ eEncodingIsVolatileUID,
81+ // / This type is pointer to a type whose UID is m_encoding_uid.
82+ eEncodingIsTypedefUID,
83+ // / This type is pointer to a type whose UID is m_encoding_uid.
84+ eEncodingIsPointerUID,
85+ // / This type is L value reference to a type whose UID is m_encoding_uid.
86+ eEncodingIsLValueReferenceUID,
87+ // / This type is R value reference to a type whose UID is m_encoding_uid.
88+ eEncodingIsRValueReferenceUID,
89+ // / This type is the type whose UID is m_encoding_uid as an atomic type.
90+ eEncodingIsAtomicUID,
8791 eEncodingIsSyntheticUID
8892 };
8993
@@ -197,7 +201,7 @@ class Type : public std::enable_shared_from_this<Type>, public UserID {
197201
198202 // From a fully qualified typename, split the type into the type basename and
199203 // the remaining type scope (namespaces/classes).
200- static bool GetTypeScopeAndBasename (const llvm::StringRef& name,
204+ static bool GetTypeScopeAndBasename (llvm::StringRef name,
201205 llvm::StringRef &scope,
202206 llvm::StringRef &basename,
203207 lldb::TypeClass &type_class);
@@ -473,8 +477,8 @@ class TypeEnumMemberImpl {
473477public:
474478 TypeEnumMemberImpl () : m_integer_type_sp(), m_name(" <invalid>" ), m_value() {}
475479
476- TypeEnumMemberImpl (const lldb::TypeImplSP &integer_type_sp,
477- ConstString name, const llvm::APSInt &value);
480+ TypeEnumMemberImpl (const lldb::TypeImplSP &integer_type_sp, ConstString name,
481+ const llvm::APSInt &value);
478482
479483 TypeEnumMemberImpl (const TypeEnumMemberImpl &rhs) = default ;
480484
0 commit comments