[PATCH] D51332: [clang-tidy] Replace deprecated std::ios_base aliases
Bence Ando via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 14 03:36:07 PDT 2018
andobence marked 2 inline comments as done.
andobence added inline comments.
================
Comment at: clang-tidy/modernize/DeprecatedIosBaseAliasesCheck.cpp:34
+ // provide any benefit to other languages, despite being benign.
+ if (!getLangOpts().CPlusPlus)
+ return;
----------------
JonasToth wrote:
> Which standard supplies the replacement functionality? e.g. for C++98 the warning is probably not relevant because there is no way to replace the deprecated types, but for C++17 it is possible.
C++98 already has them, these types has been deprecated since draft N0785 from 1995.
https://reviews.llvm.org/D51332
More information about the cfe-commits
mailing list