[PATCH] D115625: [clang-format] add support for cppm files

Marek Kurdej via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 13 04:57:37 PST 2021


curdeius accepted this revision.
curdeius added a comment.

LGTM.



================
Comment at: clang/tools/clang-format/clang-format-diff.py:51
                       r'.*\.(cpp|cc|c\+\+|cxx|c|cl|h|hh|hpp|hxx|m|mm|inc|js|ts'
-                      r'|proto|protodevel|java|cs|json)',
+                      r'|proto|protodevel|java|cs|json|cppm)',
                       help='custom pattern selecting file paths to reformat '
----------------
Nit: I would put it close to other C++ extensions.


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

https://reviews.llvm.org/D115625



More information about the cfe-commits mailing list