[PATCH] D123655: [clang-tidy] Add portability-std-allocator-const-t check

Eugene Zelenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 13 11:59:47 PDT 2022


Eugene.Zelenko added inline comments.


================
Comment at: clang-tools-extra/docs/clang-tidy/checks/portability-std-allocator-const.rst:6
+
+This check reports use of ``vector<const T>`` (and similar containers of const
+elements). These are not allowed in standard C++, and should usually be
----------------
Please omit `This check`. Also please make first sentence same as in Release Notes.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123655/new/

https://reviews.llvm.org/D123655



More information about the cfe-commits mailing list