[PATCH] D51332: [clang-tidy] Replace deprecated std::ios_base aliases

Jonas Toth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 28 01:01:58 PDT 2018


JonasToth added inline comments.


================
Comment at: clang-tidy/modernize/DeprecatedIosBaseAliasesCheck.cpp:34
+  // provide any benefit to other languages, despite being benign.
+  if (!getLangOpts().CPlusPlus)
+    return;
----------------
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.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D51332





More information about the cfe-commits mailing list