================
@@ -13,11 +13,42 @@
#include <string>
#include <vector>
+#include "llvm/ADT/StringSet.h"
+
namespace lldb_private {
class StreamString;
class Log;
+class FieldEnum {
+public:
+ struct Enumerator {
+ uint64_t m_value;
+ // Short name for the value. Shown in tables and when printing the field's
+ // value. For example "RZ".
+ std::string m_name;
+
+ Enumerator(uint64_t value, std::string name)
+ : m_value(value), m_name(name) {}
----------------
bulbazord wrote:
`std::move` on the name?
https://github.com/llvm/llvm-project/pull/90063
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits