536 B
536 B
Coding Style Guide
Introduction
This project follows Google C++ style.
If there is any inconsistency in this repository and it's not mentioned in Google C++ style guide:
- Add a rule with reason or reference here and send a code review to the team.
- Once approved, apply the rule to the repository in a follow up change.
Rules
- Use
#pragma onceinstead of #define guards. Netsim uses compiler tool chain from external/qemu, and the project uses#pragma oncetoo.