File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
lldb/source/Plugins/Language/Swift Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1752,14 +1752,14 @@ bool SwiftLanguage::GetFunctionDisplayName(
1752
1752
std::string SwiftLanguage::GetFunctionName (const SymbolContext &sc,
1753
1753
const ExecutionContext *exe_ctx) {
1754
1754
if (!sc.function )
1755
- return " " ;
1755
+ return {} ;
1756
1756
if (sc.function ->GetLanguage () != eLanguageTypeSwift)
1757
- return " " ;
1757
+ return {} ;
1758
1758
std::string name = SwiftLanguageRuntime::DemangleSymbolAsString (
1759
1759
sc.function ->GetMangled ().GetMangledName ().GetStringRef (),
1760
1760
SwiftLanguageRuntime::eSimplified, &sc, exe_ctx);
1761
1761
if (name.empty ())
1762
- return " " ;
1762
+ return {} ;
1763
1763
const char *cstr = name.data ();
1764
1764
const char *open_paren = strchr (cstr, ' (' );
1765
1765
const char *generic = strchr (cstr, ' <' );
You can’t perform that action at this time.
0 commit comments