TheAlgorithms/Java

[BUG] There is a issue with clang file for latest clang versions

TharunTech opened this issue · 2 comments

Description

i was formating the files using clang and it shows
error: unknown key 'InsertNewlineAtEOF' InsertNewlineAtEOF: true ^~~~~~~~~~~~~~~~~~

Steps to reproduce

Install and Run
clang-format -i -style=file ./withUrFileName.java

Excepted behavior

must format the java document without any error prompt

Screenshots

No response

Additional context

No response

Which version of clang-format are you using? InsertNewlineAtEOF was introduced in clang-format-16.

Ok, thanks for the clarification!!