Skip to content
Commit cf0c6423 authored by Tom Joseph's avatar Tom Joseph Committed by Deepak Kodihalli
Browse files

Add clang format for C and C++



The libpldm is written in C and can be shared with projects other than
OpenBMC. The code written in C follows the Linux kernel coding guidelines.
The libpldmresponder and the application code follows the modern C++ and the
clang format follows the OpenBMC coding guidelines.

clang-format for each input file will try to find the .clang-format file
located in the closest parent directory of the input file. Since the C code is
in libpldm directory it has a specific .clang-format.

Change-Id: I9346d454cb20009c6daf526d4ceb722d7400a8d1
Signed-off-by: default avatarTom Joseph <tomjoseph@in.ibm.com>
parent e090e3dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment