@@ -1950,7 +1950,8 @@ GetDemangledBasename(const SymbolContext &sc) {
19501950 auto [demangled_name, info] = *info_or_err;
19511951
19521952 return demangled_name.substr (info.BasenameRange .first ,
1953- info.BasenameRange .second - info.BasenameRange .first );
1953+ info.BasenameRange .second -
1954+ info.BasenameRange .first );
19541955}
19551956
19561957static llvm::Expected<std::string>
@@ -1966,7 +1967,8 @@ GetDemangledFunctionPrefix(const SymbolContext &sc) {
19661967 " DemangledInfo for '%s does not have suffix range." ,
19671968 demangled_name.data ());
19681969
1969- return demangled_name.substr (info.PrefixRange .first , info.PrefixRange .second - info.PrefixRange .first );
1970+ return demangled_name.substr (
1971+ info.PrefixRange .first , info.PrefixRange .second - info.PrefixRange .first );
19701972}
19711973
19721974static llvm::Expected<std::string>
@@ -1982,7 +1984,8 @@ GetDemangledFunctionSuffix(const SymbolContext &sc) {
19821984 " DemangledInfo for '%s does not have suffix range." ,
19831985 demangled_name.data ());
19841986
1985- return demangled_name.substr (info.SuffixRange .first , info.SuffixRange .second - info.SuffixRange .first );
1987+ return demangled_name.substr (
1988+ info.SuffixRange .first , info.SuffixRange .second - info.SuffixRange .first );
19861989}
19871990
19881991static bool PrintDemangledArgumentList (Stream &s, const SymbolContext &sc) {
@@ -2001,7 +2004,8 @@ static bool PrintDemangledArgumentList(Stream &s, const SymbolContext &sc) {
20012004 return false ;
20022005
20032006 s << demangled_name.substr (info.ArgumentsRange .first ,
2004- info.ArgumentsRange .second - info.ArgumentsRange .first );
2007+ info.ArgumentsRange .second -
2008+ info.ArgumentsRange .first );
20052009
20062010 return true ;
20072011}
0 commit comments