[clang-tidy] Replace deprecated std::ios_base aliases
authorJonas Toth <jonas.toth@gmail.com>
Fri, 5 Oct 2018 13:36:00 +0000 (13:36 +0000)
committerJonas Toth <jonas.toth@gmail.com>
Fri, 5 Oct 2018 13:36:00 +0000 (13:36 +0000)
commitd0794365710a85f3c8c4f9847c80eddace29d954
tree8d08af9296572ef156d98a20792871b78a208709
parent149de8de19064a599c64975b3b218e7ce5f2aaa3
[clang-tidy] Replace deprecated std::ios_base aliases

This check warns the uses of the deprecated member types of std::ios_base
and replaces those that have a non-deprecated equivalent.

Patch by andobence!

Reviewd by: alexfh

Revision ID: https://reviews.llvm.org/D51332

llvm-svn: 343848
clang-tools-extra/clang-tidy/modernize/CMakeLists.txt
clang-tools-extra/clang-tidy/modernize/DeprecatedIosBaseAliasesCheck.cpp [new file with mode: 0644]
clang-tools-extra/clang-tidy/modernize/DeprecatedIosBaseAliasesCheck.h [new file with mode: 0644]
clang-tools-extra/clang-tidy/modernize/ModernizeTidyModule.cpp
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/checks/list.rst
clang-tools-extra/docs/clang-tidy/checks/modernize-deprecated-ios-base-aliases.rst [new file with mode: 0644]
clang-tools-extra/test/clang-tidy/modernize-deprecated-ios-base-aliases.cpp [new file with mode: 0644]