Fix and improve the docs

Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com>

PR #17034.
This commit is contained in:
Hampton Ford 2022-05-15 23:40:06 -06:00 committed by GitHub
commit 05325b135d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 5 deletions

View file

@ -1,6 +1,7 @@
# Coding Guidelines
All new code **must** follow the following coding guidelines. \
All new code **must** follow the following coding guidelines.
If you make changes in a file that still uses another coding style, make sure that you follow these guidelines for your changes. \
For programming languages other than C++ (e.g. JavaScript) used in this repository and submodules, unless otherwise specified, coding guidelines listed here applies as much as possible.
@ -456,8 +457,8 @@ class ExampleWidget : public QWidget
* Prefer pre-increment, pre-decrement operators
```c++
++i, --j; // Yes
i++, j--; // No
++i, --j; // yes
i++, j--; // no
```
* private/public/protected must not be indented