You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks
Which means that reduz' beloved style which we all became used to will now be changed automatically to remove the first empty line. This makes us lean closer to 1TBS (the one true brace style) instead of hybridating it with some Allman-inspired spacing. There's still the case of braces around single-statement blocks that needs to be addressed (but clang-format can't help with that, but clang-tidy may if we agree about it). Part of #33027.
This commit is contained in:
@@ -34,7 +34,6 @@
|
||||
#include "core/os/os.h"
|
||||
|
||||
Error EMWSServer::listen(int p_port, Vector<String> p_protocols, bool gd_mp_api) {
|
||||
|
||||
return FAILED;
|
||||
}
|
||||
|
||||
@@ -60,12 +59,10 @@ Vector<String> EMWSServer::get_protocols() const {
|
||||
}
|
||||
|
||||
IP_Address EMWSServer::get_peer_address(int p_peer_id) const {
|
||||
|
||||
return IP_Address();
|
||||
}
|
||||
|
||||
int EMWSServer::get_peer_port(int p_peer_id) const {
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user