microsoft / ms-tpm-20-ref

Reference implementation of the TCG Trusted Platform Module 2.0 specification.
Other
345 stars 134 forks source link

Code formatting for TPM reference implementation #78

Closed vsukhoml closed 2 years ago

vsukhoml commented 2 years ago

It looks like lack of something like .clang-format specification or other formatter creates number of issues with trailing whitespaces, newlines, etc. Does it make sense to include .clang-format which would enforce formatting? Probably need some tuning to make changes to existing code minimal.

bradlitterell commented 2 years ago

Yes - This is already in process in a private fork of this repo and will appear in a future version.