llvm-project/clang-tools-extra/docs/clang-tidy/checks/modernize-deprecated-ios-ba...

18 lines
779 B
ReStructuredText

.. title:: clang-tidy - modernize-deprecated-ios-base-aliases
modernize-deprecated-ios-base-aliases
=====================================
Detects usage of the deprecated member types of ``std::ios_base`` and replaces
those that have a non-deprecated equivalent.
=================================== ===========================
Deprecated member type Replacement
=================================== ===========================
``std::ios_base::io_state`` ``std::ios_base::iostate``
``std::ios_base::open_mode`` ``std::ios_base::openmode``
``std::ios_base::seek_dir`` ``std::ios_base::seekdir``
``std::ios_base::streamoff``
``std::ios_base::streampos``
=================================== ===========================