Skip to content

Upgrade to Clang 12 #68

Closed
Closed
@benny-medflyt

Description

@benny-medflyt

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

Activity

quezak

quezak commented on Jun 16, 2021

@quezak

Any updates on this?

mprobst

mprobst commented on Jun 16, 2021

@mprobst
Contributor
quezak

quezak commented on Jun 16, 2021

@quezak

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

H4M5TER commented on Aug 27, 2021

@H4M5TER

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

xuelongmu commented on Apr 12, 2022

@xuelongmu

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

mprobst commented on Apr 13, 2022

@mprobst
Contributor

Done in v1.7.0.

mprobst

mprobst commented on Apr 13, 2022

@mprobst
Contributor

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

xuelongmu

xuelongmu commented on Apr 15, 2022

@xuelongmu

Thank you @mprobst!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @mprobst@quezak@xuelongmu@H4M5TER@benny-medflyt

        Issue actions

          Upgrade to Clang 12 · Issue #68 · angular/clang-format