issues
search
SFML
/
SFML-Website
Repository for the SFML website.
Other
22
stars
35
forks
source link
Updates to the Code Style Guide
#189
Open
eXpl0it3r
opened
1 month ago
eXpl0it3r
commented
1 month ago
[ ] All/most of the code formatting rules can be replaced with information on how to run clang-tidy
[ ] Add reference to enforced clang-tidy rules, see also
https://github.com/SFML/SFML/blob/master/.clang-tidy
[ ] Add a policy for pass-by-value for trivially copyable classes, see also
https://github.com/SFML/SFML/issues/3047
[ ] Add a policy for cast usage, see also
https://github.com/SFML/SFML/pull/3061
[ ] Add a policy about usage of
auto
, especially regarding type inference, see also
https://github.com/SFML/SFML/pull/3067#discussion_r1630224712
[ ] Add a policy regarding usage of
struct
vs
class
, see also
https://github.com/SFML/SFML/pull/3165
[ ] Add a policy regarding example code writing:
[ ] Define event model should be promoted by default
[ ] Define error handling when loading resources
auto
, especially regarding type inference, see also https://github.com/SFML/SFML/pull/3067#discussion_r1630224712struct
vsclass
, see also https://github.com/SFML/SFML/pull/3165