[PATCH] D61989: [clang-tidy] enable modernize-concat-nested-namespaces on header files

Jonas Toth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 16 10:02:19 PDT 2019


JonasToth added a comment.

Hi shixiao,

thank you for taking a look at this. Please extend the unit-tests (clang-tools-extra/test/clang-tidy) for this check, your revision description already includes a good start.



================
Comment at: clang-tools-extra/clang-tidy/modernize/ConcatNestedNamespacesCheck.cpp:69
+          "HeaderFileExtensions", utils::defaultHeaderFileExtensions())) {
+  if (!utils::parseHeaderFileExtensions(RawStringHeaderFileExtensions,
+                                        HeaderFileExtensions, ',')) {
----------------
please ellide braces for the single-stmt `if`s.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D61989





More information about the cfe-commits mailing list