Make lldb::Regex use StringRef.
This updates getters and setters to use StringRef instead of const char *. I tested the build on Linux, Windows, and OSX and saw no build or test failures. I cannot test any BSD or Android variants, however I expect the required changes to be minimal or non-existant. llvm-svn: 282079
This commit is contained in:
@@ -150,7 +150,7 @@ BreakpointResolverFileLine::SearchCallback(SearchFilter &filter,
|
||||
s.Printf("for %s:%d ", m_file_spec.GetFilename().AsCString("<Unknown>"),
|
||||
m_line_number);
|
||||
|
||||
SetSCMatchesByLine(filter, sc_list, m_skip_prologue, s.GetData());
|
||||
SetSCMatchesByLine(filter, sc_list, m_skip_prologue, s.GetString());
|
||||
|
||||
return Searcher::eCallbackReturnContinue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user