aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-phiopt.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2017-10-24 14:18:52 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2017-10-24 14:18:52 +0100
commit02e2a7d8ef8aaeca05aba0e8ca15ba40ec1f3a53 (patch)
tree5269736effab23808c7dc9cb5e8db39779e22b55 /gcc/tree-ssa-phiopt.c
parentc58a9f350aa76af2bc1a826f2eac371da9edd04e (diff)
downloadgcc-02e2a7d8ef8aaeca05aba0e8ca15ba40ec1f3a53.zip
gcc-02e2a7d8ef8aaeca05aba0e8ca15ba40ec1f3a53.tar.gz
gcc-02e2a7d8ef8aaeca05aba0e8ca15ba40ec1f3a53.tar.bz2
Refactor std::basic_string_view members and add noexcept
* include/bits/string_view.tcc (find_first_of, find_last_of) (find_first_not_of, find_last_not_of): Add noexcept. * include/std/string_view (basic_string_view(const _CharT*)) (basic_string_view(const _CharT*, size_type)) (front, back, remove_prefix, remove_suffix, find, rfind) (find_first_of, find_first_not_of): Add noexcept. (at(size_type), _S_compare(size_type, size_type)): Replace conditional expressions with if statements. (copy(_CharT*, size_type, size_type), substr(size_type, size_type)): Use _M_check for length checks. (compare(basic_string_view)): Reformat. (_M_check(size_type, const char)): Add noexcept(false). (_M_limit(size_type, size_type)): Use noexcept not _GLIBCXX_NOEXCEPT. From-SVN: r254044
Diffstat (limited to 'gcc/tree-ssa-phiopt.c')
0 files changed, 0 insertions, 0 deletions