| Issue |
166760
|
| Summary |
InsertNewlineAtEOF still does not insert a newline character at EOF
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
basilm4r0
|
With this.clang-format config file:
```
InsertNewlineAtEOF: 'true'
KeepEmptyLinesAtEOF: 'true'
```
If I create a file called foobar.cpp and write to it:
```
int foobar () {
return 0;
}
```
and then run 'clang-format foobar.cpp', the output is:
```
int foobar() { return 0;}
```
No newline character is being inserted at the end of the file.
LLVM version is 20.1.8
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs