DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
No new code / functionality should be added using the ink/INK prefix. Long term, we will migrate these into the ats/ATS prefix. Adhering to these rules is important, the goal is to be able to easily distinguish public from private APIs. In the past, we've had several cases where public APIs were used in the private code implementation, and this is a bad idea for both performance and functionality.
Header files
| Code Block | ||
|---|---|---|
| ||
|
In most subsystems, header files are named with a P_ or I_ prefix. P_ files should contain any types and definitions that are private to the subsystem, while the public interface should be contained in a I_-prefixed header.
...
| Code Block |
|---|
$ clang-format -i proxy/logging/LogAccessHttp.cc
|
Vertical whitespace
No more than 1 adjacent empty line (clang-format enforces this). Leave a blank line after the closing branch when you have the same indentation level (clang-format sometimes messes this up).
You should have this :
| Code Block | ||
|---|---|---|
| ||
void foo(...) { if (...) { } if (...) { } } void bar(...) { ... } |
clang-format binary and configuration
...