[Lldb-commits] [lldb] [lldb] Deal with SupportFiles in SourceManager (NFC) (PR #106740)
Alex Langford via lldb-commits
lldb-commits at lists.llvm.org
Fri Aug 30 10:39:27 PDT 2024
================
@@ -159,22 +158,31 @@ class SourceManager {
size_t DisplayMoreWithLineNumbers(Stream *s, uint32_t count, bool reverse,
const SymbolContextList *bp_locs = nullptr);
- bool SetDefaultFileAndLine(const FileSpec &file_spec, uint32_t line);
+ bool SetDefaultFileAndLine(lldb::SupportFileSP support_file_sp,
+ uint32_t line);
+
+ struct SupportFileAndLine {
+ lldb::SupportFileSP support_file_sp;
+ uint32_t line;
+ SupportFileAndLine(lldb::SupportFileSP support_file_sp, uint32_t line)
+ : support_file_sp(support_file_sp), line(line) {};
----------------
bulbazord wrote:
There's an extra semicolon at the end of the constructor. This may introduce a warning.
https://github.com/llvm/llvm-project/pull/106740
More information about the lldb-commits
mailing list