Author: 루밀LuMir Date: 2024-11-26T22:56:25-08:00 New Revision: 6c7b988e64b60cff7e9f3777dfcc2b2511ee48c6
URL: https://github.com/llvm/llvm-project/commit/6c7b988e64b60cff7e9f3777dfcc2b2511ee48c6 DIFF: https://github.com/llvm/llvm-project/commit/6c7b988e64b60cff7e9f3777dfcc2b2511ee48c6.diff LOG: [clang-format] Add mjs to default_extensions in git-clang-format (#117730) Added: Modified: clang/tools/clang-format/git-clang-format Removed: ################################################################################ diff --git a/clang/tools/clang-format/git-clang-format b/clang/tools/clang-format/git-clang-format index bacbd8de245666..6a2a2a22ec5c2b 100755 --- a/clang/tools/clang-format/git-clang-format +++ b/clang/tools/clang-format/git-clang-format @@ -94,11 +94,13 @@ def main(): # Other languages that clang-format supports 'proto', 'protodevel', # Protocol Buffers 'java', # Java - 'js', # JavaScript + 'mjs', 'js', # JavaScript 'ts', # TypeScript 'cs', # C Sharp 'json', # Json - 'sv', 'svh', 'v', 'vh', # Verilog + 'sv', 'svh', 'v', 'vh', # Verilog + 'td', # TableGen + 'txtpb', 'textpb', 'pb.txt', 'textproto', 'asciipb', # TextProto ]) p = argparse.ArgumentParser( _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits