forked from OSchip/llvm-project
[lldb][NFC] Format lldb/include/lldb/Symbol/Type.h
Reviewed By: teemperor, JDevlieghere, dblaikie Differential Revision: https://reviews.llvm.org/D113604
This commit is contained in:
parent
ebf5497b26
commit
efefc4ee3b
|
@ -67,23 +67,27 @@ class Type : public std::enable_shared_from_this<Type>, public UserID {
|
||||||
public:
|
public:
|
||||||
enum EncodingDataType {
|
enum EncodingDataType {
|
||||||
eEncodingInvalid,
|
eEncodingInvalid,
|
||||||
eEncodingIsUID, ///< This type is the type whose UID is m_encoding_uid
|
/// This type is the type whose UID is m_encoding_uid.
|
||||||
eEncodingIsConstUID, ///< This type is the type whose UID is m_encoding_uid
|
eEncodingIsUID,
|
||||||
/// with the const qualifier added
|
/// This type is the type whose UID is m_encoding_uid with the const
|
||||||
eEncodingIsRestrictUID, ///< This type is the type whose UID is
|
/// qualifier added.
|
||||||
/// m_encoding_uid with the restrict qualifier added
|
eEncodingIsConstUID,
|
||||||
eEncodingIsVolatileUID, ///< This type is the type whose UID is
|
/// This type is the type whose UID is m_encoding_uid with the restrict
|
||||||
/// m_encoding_uid with the volatile qualifier added
|
/// qualifier added.
|
||||||
eEncodingIsTypedefUID, ///< This type is pointer to a type whose UID is
|
eEncodingIsRestrictUID,
|
||||||
/// m_encoding_uid
|
/// This type is the type whose UID is m_encoding_uid with the volatile
|
||||||
eEncodingIsPointerUID, ///< This type is pointer to a type whose UID is
|
/// qualifier added.
|
||||||
/// m_encoding_uid
|
eEncodingIsVolatileUID,
|
||||||
eEncodingIsLValueReferenceUID, ///< This type is L value reference to a type
|
/// This type is pointer to a type whose UID is m_encoding_uid.
|
||||||
/// whose UID is m_encoding_uid
|
eEncodingIsTypedefUID,
|
||||||
eEncodingIsRValueReferenceUID, ///< This type is R value reference to a type
|
/// This type is pointer to a type whose UID is m_encoding_uid.
|
||||||
/// whose UID is m_encoding_uid,
|
eEncodingIsPointerUID,
|
||||||
eEncodingIsAtomicUID, ///< This type is the type whose UID is
|
/// This type is L value reference to a type whose UID is m_encoding_uid.
|
||||||
/// m_encoding_uid as an atomic type.
|
eEncodingIsLValueReferenceUID,
|
||||||
|
/// This type is R value reference to a type whose UID is m_encoding_uid.
|
||||||
|
eEncodingIsRValueReferenceUID,
|
||||||
|
/// This type is the type whose UID is m_encoding_uid as an atomic type.
|
||||||
|
eEncodingIsAtomicUID,
|
||||||
eEncodingIsSyntheticUID
|
eEncodingIsSyntheticUID
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -197,7 +201,7 @@ public:
|
||||||
|
|
||||||
// From a fully qualified typename, split the type into the type basename and
|
// From a fully qualified typename, split the type into the type basename and
|
||||||
// the remaining type scope (namespaces/classes).
|
// the remaining type scope (namespaces/classes).
|
||||||
static bool GetTypeScopeAndBasename(const llvm::StringRef& name,
|
static bool GetTypeScopeAndBasename(llvm::StringRef name,
|
||||||
llvm::StringRef &scope,
|
llvm::StringRef &scope,
|
||||||
llvm::StringRef &basename,
|
llvm::StringRef &basename,
|
||||||
lldb::TypeClass &type_class);
|
lldb::TypeClass &type_class);
|
||||||
|
@ -473,8 +477,8 @@ class TypeEnumMemberImpl {
|
||||||
public:
|
public:
|
||||||
TypeEnumMemberImpl() : m_integer_type_sp(), m_name("<invalid>"), m_value() {}
|
TypeEnumMemberImpl() : m_integer_type_sp(), m_name("<invalid>"), m_value() {}
|
||||||
|
|
||||||
TypeEnumMemberImpl(const lldb::TypeImplSP &integer_type_sp,
|
TypeEnumMemberImpl(const lldb::TypeImplSP &integer_type_sp, ConstString name,
|
||||||
ConstString name, const llvm::APSInt &value);
|
const llvm::APSInt &value);
|
||||||
|
|
||||||
TypeEnumMemberImpl(const TypeEnumMemberImpl &rhs) = default;
|
TypeEnumMemberImpl(const TypeEnumMemberImpl &rhs) = default;
|
||||||
|
|
||||||
|
|
|
@ -662,7 +662,7 @@ ConstString Type::GetQualifiedName() {
|
||||||
return GetForwardCompilerType().GetTypeName();
|
return GetForwardCompilerType().GetTypeName();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Type::GetTypeScopeAndBasename(const llvm::StringRef& name,
|
bool Type::GetTypeScopeAndBasename(llvm::StringRef name,
|
||||||
llvm::StringRef &scope,
|
llvm::StringRef &scope,
|
||||||
llvm::StringRef &basename,
|
llvm::StringRef &basename,
|
||||||
TypeClass &type_class) {
|
TypeClass &type_class) {
|
||||||
|
|
Loading…
Reference in New Issue