clang-format: force unix newlines

In order to help avoid dos-style newlines from being introduced to the
codebase, force the clang-format style to use unix-style newlines.

  `DeriveLineEnding: false`:
    - This disables automatic newline style detection by clang-format.

  `UseCRLF: false`:
    - Since detection is disabled, this enforces unix-style (LF).

Also, add a remark in the cpp-style document to codify the expectation
that unix-style newlines are used.

Tested: Apply changes to sdbusplus, run 'unix2dos' on a source file, and
confirm file is reverted to unix-style with 'clang-format'.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ie8f0cd956a3c52cd14891c06a0b61507f5829aaf
2 files changed
tree: d2851e0919c821bc71b43c6470642e6d22b11b10
  1. architecture/
  2. designs/
  3. development/
  4. logo/
  5. release/
  6. security/
  7. style/
  8. testing/
  9. tof/
  10. userguide/
  11. anti-patterns.md
  12. cheatsheet.md
  13. code-of-conduct.md
  14. console.md
  15. CONTRIBUTING.md
  16. cpp-style-and-conventions.md
  17. features.md
  18. glossary.md
  19. host-management.md
  20. IPMITOOL-cheatsheet.md
  21. kernel-development.md
  22. LICENSE
  23. maintainer-workflow.md
  24. MAINTAINERS
  25. Makefile
  26. meta-layer-guidelines.md
  27. openbmc-conversion.md
  28. OWNERS
  29. README.md
  30. REDFISH-cheatsheet.md
  31. rest-api.md
  32. REST-cheatsheet.md
  33. subtree.md
  34. yocto-development.md
README.md

OpenBMC documentation

The OpenBMC project is a Linux Foundation project whose goal is to produce a customizable, open-source firmware stack for Baseboard Management Controllers (BMCs). This repository contains documentation for OpenBMC as a whole. There may be component-specific documentation in the repository for each component.

The features document lists the project's major features with links to more information.

Contact

OpenBMC Development

These documents contain details on developing OpenBMC code itself

OpenBMC Usage

These documents describe how to use OpenBMC, including using the programmatic interfaces to an OpenBMC system.