-
Notifications
You must be signed in to change notification settings - Fork 140
Coding Conventions
sepidetari edited this page Oct 9, 2018
·
12 revisions
In order to unify the look and feel of the Phasar code base, code should be written according to the LLVM coding guidelines wherever possible. The LLVM coding guidelines can be here:
https://llvm.org/docs/CodingStandards.html
In addition, the pre-commit script in githooks/ has to be copied into the ./git/hooks/ directory:
$ cp githooks/pre-commit .git/hooks/
The script will run some useful clang-tidy checks as well as clang-format over the entire code base just before your changes are committed in order to reduce the number of unnecessary merge conflicts and to unify the code base.
- Home
- Reference Material
- Getting Started:
- Building PhASAR
- Using PhASAR with Docker
- A few uses of PhASAR
- Coding Conventions
- Contributing to PhASAR
- Errors and bug reporting
- Update to Newer LLVM Versions
- OS Support