Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,3 @@ root = true

[*]
trim_trailing_whitespace = true

[*.{cpp,hpp,c,h,cc,hh}]
indent_style = space
indent_size = 2

[*.java]
indent_style = space
indent_size = 4
3 changes: 3 additions & 0 deletions src/hotspot/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[*.{cpp,hpp,c,h}]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are no C files in Hotspot, nor should there ever be. (There are a handful of .h files, though, for interop purposes)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I saw that there are no C files but added it for symmetry with the H files. I don't think it hurts here but I can also remove it. Do you think it should be removed?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that is rather up to the Hotspot folks to have an opinion on.

indent_style = space
indent_size = 2