[Lldb-commits] [lldb] d966d47 - [lldb] Make SupportFile's FileSpec and Checksum const (NFC)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Tue Sep 3 14:38:44 PDT 2024
Author: Jonas Devlieghere
Date: 2024-09-03T14:38:34-07:00
New Revision: d966d4708fe5084e47ca3d9d411935d6870aefff
URL: https://github.com/llvm/llvm-project/commit/d966d4708fe5084e47ca3d9d411935d6870aefff
DIFF: https://github.com/llvm/llvm-project/commit/d966d4708fe5084e47ca3d9d411935d6870aefff.diff
LOG: [lldb] Make SupportFile's FileSpec and Checksum const (NFC)
Added:
Modified:
lldb/include/lldb/Utility/SupportFile.h
Removed:
################################################################################
diff --git a/lldb/include/lldb/Utility/SupportFile.h b/lldb/include/lldb/Utility/SupportFile.h
index 6a091bb84ada35..c389edf0e9f12c 100644
--- a/lldb/include/lldb/Utility/SupportFile.h
+++ b/lldb/include/lldb/Utility/SupportFile.h
@@ -72,8 +72,8 @@ class SupportFile {
virtual const FileSpec &Materialize() { return m_file_spec; }
protected:
- FileSpec m_file_spec;
- Checksum m_checksum;
+ const FileSpec m_file_spec;
+ const Checksum m_checksum;
};
} // namespace lldb_private
More information about the lldb-commits
mailing list