Add a Chromium .clang-format file, and apply it#115
Add a Chromium .clang-format file, and apply it#115AndrewScheidecker wants to merge 1 commit intoWebAssembly:mainfrom
Conversation
|
Just looking at the main I think yon can revert all the v8 stuff as hopefully we can delete all that stuff anyway now that v8 has upstream support. |
|
It could be worse (we don't have many
Is there a way to fix these? Last time I played with clang-format I couldn't figure it out. Some of these are just aesthetics, but for readable interface files at least it kind of matters some. @sbc100, I'd prefer to keep the V8 prototype impl around for the time being, since it enables experimenting with extensions and changes to the API. |
As requested here, this adds a .clang-format that only contains
BasedOnStyle: Chromium, and applies it to *.c, *.cc, *.h, and *.hh, so folks can see what the impact is.