The added `#` prevents clang-format from misinterpreting the meaning of this statement and thus messing up the formatting of the next lines up until the first `layout` statement. Similarly, a semicolon is now enforced on `versions` defines to prevent clang-format from messing up formatting and putting them all on a single line. Note: In its current state the code will ignore chained statements on a single line separated by a semicolon. Also removed some extraneous lines missed in previous style changes or added by mistake with said changes (e.g. after uniform definitions that clang-format messes up somewhat too, but we live with it).
Name |
Last commit
|
Last update |
---|---|---|
.github | Loading commit data... | |
core | Loading commit data... | |
doc | Loading commit data... | |
drivers | Loading commit data... | |
editor | Loading commit data... | |
main | Loading commit data... | |
misc | Loading commit data... | |
modules | Loading commit data... | |
platform | Loading commit data... | |
scene | Loading commit data... | |
servers | Loading commit data... | |
thirdparty | Loading commit data... | |
.appveyor.yml | Loading commit data... | |
.clang-format | Loading commit data... | |
.clang-tidy | Loading commit data... | |
.editorconfig | Loading commit data... | |
.gitattributes | Loading commit data... | |
.gitignore | Loading commit data... | |
.mailmap | Loading commit data... | |
.travis.yml | Loading commit data... | |
AUTHORS.md | Loading commit data... | |
CHANGELOG.md | Loading commit data... | |
CODE_OF_CONDUCT.md | Loading commit data... | |
CONTRIBUTING.md | Loading commit data... | |
COPYRIGHT.txt | Loading commit data... | |
DONORS.md | Loading commit data... | |
LICENSE.txt | Loading commit data... | |
LOGO_LICENSE.md | Loading commit data... | |
README.md | Loading commit data... | |
SConstruct | Loading commit data... | |
gles_builders.py | Loading commit data... | |
icon.png | Loading commit data... | |
icon.svg | Loading commit data... | |
logo.png | Loading commit data... | |
logo.svg | Loading commit data... | |
methods.py | Loading commit data... | |
platform_methods.py | Loading commit data... | |
version.py | Loading commit data... |