Skip to content

Commit d16dd3b

Browse files
committed
Enable clang-format for Java
This is to avoid clang-format silently aborting when encountering Java files, as happened in #4912. The configuration for Java likely needs tweaking to avoid mass-reformatting, but we might do so in an incremental fashion.
1 parent efe8ec3 commit d16dd3b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.clang-format

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,7 @@ SpacesInSquareBrackets: 'false'
8484
Standard: Cpp11
8585
TabWidth: '2'
8686
UseTab: Never
87-
87+
---
88+
Language: Java
89+
ColumnLimit: '80'
8890
...

0 commit comments

Comments
 (0)