[Lldb-commits] [PATCH] D113604: [lldb][NFC] Format lldb/include/lldb/Symbol/Type.h
Luís Ferreira via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Nov 29 15:56:38 PST 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG6f99e1aa58e3: [lldb][NFC] Format lldb/include/lldb/Symbol/Type.h (authored by ljmf00).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113604/new/
https://reviews.llvm.org/D113604
Files:
lldb/include/lldb/Symbol/Type.h
lldb/source/Symbol/Type.cpp
Index: lldb/source/Symbol/Type.cpp
===================================================================
--- lldb/source/Symbol/Type.cpp
+++ lldb/source/Symbol/Type.cpp
@@ -662,9 +662,9 @@
return GetForwardCompilerType().GetTypeName();
}
-bool Type::GetTypeScopeAndBasename(const llvm::StringRef& name,
- llvm::StringRef &scope,
- llvm::StringRef &basename,
+bool Type::GetTypeScopeAndBasename(const llvm::StringRef name,
+ llvm::StringRef scope,
+ llvm::StringRef basename,
TypeClass &type_class) {
type_class = eTypeClassAny;
Index: lldb/include/lldb/Symbol/Type.h
===================================================================
--- lldb/include/lldb/Symbol/Type.h
+++ lldb/include/lldb/Symbol/Type.h
@@ -67,23 +67,27 @@
public:
enum EncodingDataType {
eEncodingInvalid,
- eEncodingIsUID, ///< This type is the type whose UID is m_encoding_uid
- eEncodingIsConstUID, ///< This type is the type whose UID is m_encoding_uid
- /// with the const qualifier added
- eEncodingIsRestrictUID, ///< This type is the type whose UID is
- /// m_encoding_uid with the restrict qualifier added
- eEncodingIsVolatileUID, ///< This type is the type whose UID is
- /// m_encoding_uid with the volatile qualifier added
- eEncodingIsTypedefUID, ///< This type is pointer to a type whose UID is
- /// m_encoding_uid
- eEncodingIsPointerUID, ///< This type is pointer to a type whose UID is
- /// m_encoding_uid
- eEncodingIsLValueReferenceUID, ///< This type is L value reference to a type
- /// whose UID is m_encoding_uid
- eEncodingIsRValueReferenceUID, ///< This type is R value reference to a type
- /// whose UID is m_encoding_uid,
- eEncodingIsAtomicUID, ///< This type is the type whose UID is
- /// m_encoding_uid as an atomic type.
+ /// This type is the type whose UID is m_encoding_uid.
+ eEncodingIsUID,
+ /// This type is the type whose UID is m_encoding_uid with the const
+ /// qualifier added.
+ eEncodingIsConstUID,
+ /// This type is the type whose UID is m_encoding_uid with the restrict
+ /// qualifier added.
+ eEncodingIsRestrictUID,
+ /// This type is the type whose UID is m_encoding_uid with the volatile
+ /// qualifier added.
+ eEncodingIsVolatileUID,
+ /// This type is pointer to a type whose UID is m_encoding_uid.
+ eEncodingIsTypedefUID,
+ /// This type is pointer to a type whose UID is m_encoding_uid.
+ eEncodingIsPointerUID,
+ /// This type is L value reference to a type whose UID is m_encoding_uid.
+ 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
};
@@ -197,9 +201,9 @@
// From a fully qualified typename, split the type into the type basename and
// the remaining type scope (namespaces/classes).
- static bool GetTypeScopeAndBasename(const llvm::StringRef& name,
- llvm::StringRef &scope,
- llvm::StringRef &basename,
+ static bool GetTypeScopeAndBasename(const llvm::StringRef name,
+ llvm::StringRef scope,
+ llvm::StringRef basename,
lldb::TypeClass &type_class);
void SetEncodingType(Type *encoding_type) { m_encoding_type = encoding_type; }
@@ -473,8 +477,8 @@
public:
TypeEnumMemberImpl() : m_integer_type_sp(), m_name("<invalid>"), m_value() {}
- TypeEnumMemberImpl(const lldb::TypeImplSP &integer_type_sp,
- ConstString name, const llvm::APSInt &value);
+ TypeEnumMemberImpl(const lldb::TypeImplSP &integer_type_sp, ConstString name,
+ const llvm::APSInt &value);
TypeEnumMemberImpl(const TypeEnumMemberImpl &rhs) = default;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113604.390510.patch
Type: text/x-patch
Size: 4374 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20211129/96cfae58/attachment.bin>
More information about the lldb-commits
mailing list