[PATCH] D66584: [clang-format] Support .mjs module javascript extension in clang-format

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 22 19:29:21 PDT 2019


MaskRay added a comment.

> This causes .mjs files to be treated as javascript.

I think you meant .mjs was not recognized before but will be recognized as JavaScript with this change.

Can you elaborate a bit why .mjs is so common that it justifies a clang-format change?


Repository:
  rC Clang

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

https://reviews.llvm.org/D66584





More information about the cfe-commits mailing list