mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 14:59:39 +02:00
libstdc++: Fix more non-uglified names
The r16-8143-g62dec39dbd6724 change to bits/fs_path.h is also needed for the corresponding functions in experimental/bits/fs_path.h. libstdc++-v3/ChangeLog: * include/experimental/bits/fs_path.h (path::stem) (path::extension, path::has_stem, path::has_extension): Uglify ext variable name.
This commit is contained in:
committed by
Jonathan Wakely
parent
110a800790
commit
ebc907d1a1
@@ -1186,33 +1186,33 @@ namespace __detail
|
||||
inline path
|
||||
path::stem() const
|
||||
{
|
||||
auto ext = _M_find_extension();
|
||||
if (ext.first && ext.second != 0)
|
||||
return path{ext.first->substr(0, ext.second)};
|
||||
auto __ext = _M_find_extension();
|
||||
if (__ext.first && __ext.second != 0)
|
||||
return path{__ext.first->substr(0, __ext.second)};
|
||||
return {};
|
||||
}
|
||||
|
||||
inline path
|
||||
path::extension() const
|
||||
{
|
||||
auto ext = _M_find_extension();
|
||||
if (ext.first && ext.second != string_type::npos)
|
||||
return path{ext.first->substr(ext.second)};
|
||||
auto __ext = _M_find_extension();
|
||||
if (__ext.first && __ext.second != string_type::npos)
|
||||
return path{__ext.first->substr(__ext.second)};
|
||||
return {};
|
||||
}
|
||||
|
||||
inline bool
|
||||
path::has_stem() const
|
||||
{
|
||||
auto ext = _M_find_extension();
|
||||
return ext.first && ext.second != 0;
|
||||
auto __ext = _M_find_extension();
|
||||
return __ext.first && __ext.second != 0;
|
||||
}
|
||||
|
||||
inline bool
|
||||
path::has_extension() const
|
||||
{
|
||||
auto ext = _M_find_extension();
|
||||
return ext.first && ext.second != string_type::npos;
|
||||
auto __ext = _M_find_extension();
|
||||
return __ext.first && __ext.second != string_type::npos;
|
||||
}
|
||||
|
||||
inline bool
|
||||
|
||||
Reference in New Issue
Block a user