Try enforcing snake_case
This commit is contained in:
1
style.md
1
style.md
@@ -119,6 +119,7 @@ auto addr = reinterpret_cast<uintptr_t>(ptr); // Pointer to integer conv
|
||||
|
||||
### Variables and Functions
|
||||
- **snake_case** for all variables, functions, and member functions
|
||||
- **Legacy camelCase exists** - the codebase currently contains mixed naming due to historical development. New code should use snake_case. Existing camelCase should be converted to snake_case during natural refactoring (not mass renaming).
|
||||
```cpp
|
||||
int64_t used_bytes() const;
|
||||
void add_block(int64_t size);
|
||||
|
||||
Reference in New Issue
Block a user