================
@@ -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
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits