Skip to content
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

The clang-format version currentlly not support key words 'AlignConsecutiveMacros' #4507

Closed
neoyong opened this issue Oct 29, 2019 · 1 comment

Comments

@neoyong
Copy link

neoyong commented Oct 29, 2019

My file '_clang-format' include a keyword 'AlignConsecutiveMacros' . When I use the 'Alt+shift+f' to format my c/c++ source file , the output window gives me a error info:
"c:\Users\Administrator.vscode\extensions\ms-vscode.cpptools-0.26.1/bin/../LLVM/bin/clang-format.exe" -style="file" -fallback-style="LLVM" -assume-filename="f:*\ext_button.h"
YAML:14:25: error: unknown key 'AlignConsecutiveMacros'
AlignConsecutiveMacros: true
^~~~
Error reading f:*
_clang-format: invalid argument

Currentlly resulotion
Download the new version of clang-format.exe from the url "https://llvm.org/builds/" & replace the old one where the path includes.

@michelleangela
Copy link
Contributor

Duplicating to issue that's tracking to update clang-format #2887

@github-actions github-actions bot locked and limited conversation to collaborators Oct 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants