@@ -39,8 +39,8 @@ class SourceManager {
3939 const SourceManager::File &rhs);
4040
4141 public:
42- File (SupportFileSP support_file_sp , lldb::TargetSP target_sp);
43- File (SupportFileSP support_file_sp , lldb::DebuggerSP debugger_sp);
42+ File (SupportFileNSP support_file_nsp , lldb::TargetSP target_sp);
43+ File (SupportFileNSP support_file_nsp , lldb::DebuggerSP debugger_sp);
4444
4545 bool ModificationTimeIsStale () const ;
4646 bool PathRemappingIsStale () const ;
@@ -58,9 +58,9 @@ class SourceManager {
5858
5959 bool LineIsValid (uint32_t line);
6060
61- SupportFileSP GetSupportFile () const {
62- assert (m_support_file_sp && " SupportFileSP must always be valid" );
63- return m_support_file_sp ;
61+ SupportFileNSP GetSupportFile () const {
62+ assert (m_support_file_nsp && " SupportFileNSP must always be valid" );
63+ return m_support_file_nsp ;
6464 }
6565
6666 uint32_t GetSourceMapModificationID () const { return m_source_map_mod_id; }
@@ -81,13 +81,13 @@ class SourceManager {
8181
8282 protected:
8383 // / Set file and update modification time.
84- void SetSupportFile (SupportFileSP support_file_sp );
84+ void SetSupportFile (SupportFileNSP support_file_nsp );
8585
8686 bool CalculateLineOffsets (uint32_t line = UINT32_MAX);
8787
8888 // / The support file. If the target has source mappings, this might be
8989 // / different from the original support file passed to the constructor.
90- SupportFileSP m_support_file_sp ;
90+ SupportFileNSP m_support_file_nsp ;
9191
9292 // / Keep track of the on-disk checksum.
9393 Checksum m_checksum;
@@ -108,9 +108,9 @@ class SourceManager {
108108 lldb::TargetWP m_target_wp;
109109
110110 private:
111- void CommonInitializer (SupportFileSP support_file_sp ,
111+ void CommonInitializer (SupportFileNSP support_file_nsp ,
112112 lldb::TargetSP target_sp);
113- void CommonInitializerImpl (SupportFileSP support_file_sp ,
113+ void CommonInitializerImpl (SupportFileNSP support_file_nsp ,
114114 lldb::TargetSP target_sp);
115115 };
116116
@@ -157,13 +157,13 @@ class SourceManager {
157157
158158 ~SourceManager ();
159159
160- FileSP GetLastFile () { return GetFile (m_last_support_file_sp ); }
160+ FileSP GetLastFile () { return GetFile (m_last_support_file_nsp ); }
161161 bool AtLastLine (bool reverse) {
162162 return m_last_line == UINT32_MAX || (reverse && m_last_line == 1 );
163163 }
164164
165165 size_t DisplaySourceLinesWithLineNumbers (
166- SupportFileSP support_file_sp , uint32_t line, uint32_t column,
166+ SupportFileNSP support_file_nsp , uint32_t line, uint32_t column,
167167 uint32_t context_before, uint32_t context_after,
168168 const char *current_line_cstr, Stream *s,
169169 const SymbolContextList *bp_locs = nullptr );
@@ -177,30 +177,30 @@ class SourceManager {
177177 size_t DisplayMoreWithLineNumbers (Stream *s, uint32_t count, bool reverse,
178178 const SymbolContextList *bp_locs = nullptr );
179179
180- bool SetDefaultFileAndLine (SupportFileSP support_file_sp , uint32_t line);
180+ bool SetDefaultFileAndLine (SupportFileNSP support_file_nsp , uint32_t line);
181181
182182 struct SupportFileAndLine {
183- SupportFileSP support_file_sp ;
183+ SupportFileNSP support_file_nsp ;
184184 uint32_t line;
185- SupportFileAndLine (SupportFileSP support_file_sp , uint32_t line)
186- : support_file_sp(support_file_sp ), line(line) {}
185+ SupportFileAndLine (SupportFileNSP support_file_nsp , uint32_t line)
186+ : support_file_nsp(support_file_nsp ), line(line) {}
187187 };
188188
189189 std::optional<SupportFileAndLine> GetDefaultFileAndLine ();
190190
191191 bool DefaultFileAndLineSet () {
192- return (GetFile (m_last_support_file_sp ).get () != nullptr );
192+ return (GetFile (m_last_support_file_nsp ).get () != nullptr );
193193 }
194194
195- void FindLinesMatchingRegex (SupportFileSP support_file_sp ,
195+ void FindLinesMatchingRegex (SupportFileNSP support_file_nsp ,
196196 RegularExpression ®ex, uint32_t start_line,
197197 uint32_t end_line,
198198 std::vector<uint32_t > &match_lines);
199199
200- FileSP GetFile (SupportFileSP support_file_sp );
200+ FileSP GetFile (SupportFileNSP support_file_nsp );
201201
202202protected:
203- SupportFileSP m_last_support_file_sp ;
203+ SupportFileNSP m_last_support_file_nsp ;
204204 uint32_t m_last_line;
205205 uint32_t m_last_count;
206206 bool m_default_set;
0 commit comments