[clang] Add `.cjs` extension handling for JavaScript Language. (PR #118188)
Owen Pan via cfe-commits
cfe-commits at lists.llvm.org
Sun Dec 1 20:40:03 PST 2024
================
@@ -87,7 +87,7 @@ static cl::opt<std::string> AssumeFileName(
"supported:\n"
" CSharp: .cs\n"
" Java: .java\n"
- " JavaScript: .mjs .js .ts\n"
+ " JavaScript: .cjs .mjs .js .ts\n"
----------------
owenca wrote:
```suggestion
" JavaScript: .js .mjs .cjs .ts\n"
```
https://github.com/llvm/llvm-project/pull/118188
More information about the cfe-commits
mailing list