You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I didn't have clang installed locally and after installing this package yarn clang-format works, and reports it's using v11.0, so I think it's using the bundled executable. In particular, I then did install the whole clang package, had clang-format v12.0 on my system, but this js package still reported using v11.0:
>: clang-format --version
clang-format version 12.0.0
>: yarn clang-format --version
yarn run v1.22.10
$ /home/quezak/work/ramp-instant/node_modules/.bin/clang-format --version
clang-format NPM version 1.5.0 at /home/quezak/work/ramp-instant/node_modules/clang-format/index.js
clang-format version 11.0.0 (https://github.com/llvm/llvm-project.git 8a6b948eb59267736a34a5deace9c7d947c63492)
Done in 0.10s.
Clang-format is a part of clang's extra tools.
Clang is a part of LLVM project.
There are official stable LLVM 12.0.1 now.
Check here for information.
Check here for downloads.
I'd love to see an update to the latest version of clang-format, there are some new features that I'm looking to use in my projects. Current version is 14 now.
I'm not sure I understand what you're trying to solve - clang-format doesn't include Clang, so that version does not matter, does it?
@mprobst The OP meant the clang-format 12, not clang itself :)
Activity
quezak commentedon Jun 16, 2021
Any updates on this?
mprobst commentedon Jun 16, 2021
quezak commentedon Jun 16, 2021
I think it does, just the clang-format binary though: https://github.com/angular/clang-format/tree/master/bin/linux_x64
I didn't have clang installed locally and after installing this package
yarn clang-format
works, and reports it's using v11.0, so I think it's using the bundled executable. In particular, I then did install the whole clang package, had clang-format v12.0 on my system, but this js package still reported using v11.0:H4M5TER commentedon Aug 27, 2021
Clang-format is a part of clang's extra tools.
Clang is a part of LLVM project.
There are official stable LLVM 12.0.1 now.
Check here for information.
Check here for downloads.
xuelongmu commentedon Apr 12, 2022
I'd love to see an update to the latest version of clang-format, there are some new features that I'm looking to use in my projects. Current version is 14 now.
@mprobst The OP meant the clang-format 12, not clang itself :)
mprobst commentedon Apr 13, 2022
Done in v1.7.0.
mprobst commentedon Apr 13, 2022
(More precisely, we're cutting releases from head, so this is based on llvm/llvm-project@5967528).
xuelongmu commentedon Apr 15, 2022
Thank you @mprobst!