[PATCH] D137302: [clang-tidy] Add modernize-type-traits check

Eugene Zelenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 5 09:44:15 PDT 2022


Eugene.Zelenko added inline comments.


================
Comment at: clang-tools-extra/clang-tidy/modernize/TypeTraitsCheck.h:17
+namespace tidy {
+namespace modernize {
+
----------------
tschuett wrote:
> Why do you refuse to use nested namespaces in `modernize` ?
I think this is done for legacy reasons. This should be done for all checks and `add_new_check.py`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D137302



More information about the cfe-commits mailing list