-
Notifications
You must be signed in to change notification settings - Fork 152
Coding Conventions
Philipp Schubert edited this page Jul 27, 2020
·
13 revisions
PhASAR mostly adheres to the LLVM coding guidelines that can be found here:
In addition, we kindly ask you to make use of our code formatting and transformation scripts before you check-in some code to PhASAR.
Please use the following script to format the source code based on the LLVM style.
$ cd PHASAR_ROOT
$ utils/run-clang-format.py
Use the following script to run some very useful clang-tidy checks (and automated fixes) on the entire code base. This script runs a lot of clang-tidy checks and may be potentially expensive. You may wish to run it only once in a while, but definitely before you check-in any code.
$ cd PHASAR_ROOT
$ utils/run-phasar-checks.sh
Please make use of our scripts to help unifying PhASAR's code base and to reduce potential merge conflicts.
- Home
- Building PhASAR
- Getting Started:
- Using PhASAR with Docker
- FAQ
- Tutorials
- Contributing
- Reference Material
- Update to Newer LLVM Versions