Skip to content

Upgrade to Clang 12 #68

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
benny-medflyt opened this issue Sep 17, 2020 · 8 comments
Closed

Upgrade to Clang 12 #68

benny-medflyt opened this issue Sep 17, 2020 · 8 comments

Comments

@benny-medflyt
Copy link

The latest version of this npm package "clang-format' 1.4.0 comes with clang-format version 11.

Since then, Clang 12 has been released. It would be nice to have a new version of "clang-format" that gives us Clang 12.

Thank you

@quezak
Copy link

quezak commented Jun 16, 2021

Any updates on this?

@mprobst
Copy link
Contributor

mprobst commented Jun 16, 2021 via email

@quezak
Copy link

quezak commented Jun 16, 2021

clang-format doesn't include Clang

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:

>: 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.

@H4M5TER
Copy link

H4M5TER commented 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
Copy link

xuelongmu commented 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.

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 :)

@mprobst
Copy link
Contributor

mprobst commented Apr 13, 2022

Done in v1.7.0.

@mprobst mprobst closed this as completed Apr 13, 2022
@mprobst
Copy link
Contributor

mprobst commented Apr 13, 2022

(More precisely, we're cutting releases from head, so this is based on llvm/llvm-project@5967528).

@xuelongmu
Copy link

Thank you @mprobst!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants