From 6dadfbcff01549143d99984926da00756a5b460a Mon Sep 17 00:00:00 2001 From: Stefan Berger Date: Thu, 7 Aug 2025 17:29:22 -0400 Subject: [PATCH] Sync: Format TpmProfile_CommandList.h Signed-off-by: Stefan Berger --- src/tpm2/TpmProfile_CommandList.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/tpm2/TpmProfile_CommandList.h b/src/tpm2/TpmProfile_CommandList.h index e7dc2d33..11392c0c 100644 --- a/src/tpm2/TpmProfile_CommandList.h +++ b/src/tpm2/TpmProfile_CommandList.h @@ -19,28 +19,29 @@ #define CC_YES YES #define CC_NO NO -// +// do not format automatically - the comments confuse clang-format. +// clang-format off + // Defines for Implemented Commands -// // Commands that are defined in the spec, but not implemented for various // reasons: // The TPM reference implementation does not implement attached-component // features, and the Compliance test suite has no test cases. -#define CC_AC_GetCapability CC_NO -#define CC_AC_Send CC_NO +#define CC_AC_GetCapability CC_NO +#define CC_AC_Send CC_NO // The TPM reference implementation does not implement firmware upgrade. -#define CC_FieldUpgradeData CC_NO -#define CC_FieldUpgradeStart CC_NO -#define CC_FirmwareRead CC_NO +#define CC_FieldUpgradeData CC_NO +#define CC_FieldUpgradeStart CC_NO +#define CC_FirmwareRead CC_NO // A prototype of CertifyX509 is provided here for informative purposes only. // While all of the TPM reference implementation is provided "AS IS" without any // warranty, the current design and implementation of CertifyX509 are considered // to be especially unsuitable for product use. -#define CC_CertifyX509 CC_YES +#define CC_CertifyX509 CC_YES // Normal commands: