[cfe-users] [clang-format-9] error: unknown key '...'
Conor . via cfe-users
cfe-users at lists.llvm.org
Wed Feb 26 01:14:42 PST 2020
Hi cfe-users,
I am using the .clang-format configuration file provided with the latest
linux kernel.
>> https://github.com/torvalds/linux/blob/master/.clang-format
The end of the clang-format file has 3 dots:
...
This is valid YAML Syntax.
However, for some reason, when I run clang-format-9 (Ubuntu 18) I get the
following error message:
YAML:504:4: error: unknown key '...'
...
^
If I edit the .clang-format file to remove the 3 dots on the final line,
clang-format-9 runs successfully and presents the formatted code.
Can someone explain why this error is happening?
Thanks,
Conor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20200226/7ccf3b64/attachment.html>
More information about the cfe-users
mailing list