diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2021-01-22 15:33:22 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2021-01-27 13:45:44 (GMT) |
commit | c826461d9cd5d7a6cb32a09ccc44f9e2f3dd9dce (patch) | |
tree | fd692d5b557cea163005598b0c541b79a1c57069 /Source/cmVersion.h | |
parent | 675d81be6c728d21b78314f763ba060855b1366b (diff) | |
download | CMake-c826461d9cd5d7a6cb32a09ccc44f9e2f3dd9dce.zip CMake-c826461d9cd5d7a6cb32a09ccc44f9e2f3dd9dce.tar.gz CMake-c826461d9cd5d7a6cb32a09ccc44f9e2f3dd9dce.tar.bz2 |
clang-tidy: fix `bugprone-reserved-identifier` warnings
Diffstat (limited to 'Source/cmVersion.h')
-rw-r--r-- | Source/cmVersion.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmVersion.h b/Source/cmVersion.h index 9072c9f..456428c 100644 --- a/Source/cmVersion.h +++ b/Source/cmVersion.h @@ -24,8 +24,8 @@ public: /* Encode with room for up to 1000 minor releases between major releases and to encode dates until the year 10000 in the patch level. */ -#define CMake_VERSION_ENCODE__BASE KWIML_INT_UINT64_C(100000000) +#define CMake_VERSION_ENCODE_BASE KWIML_INT_UINT64_C(100000000) #define CMake_VERSION_ENCODE(major, minor, patch) \ - ((((major)*1000u) * CMake_VERSION_ENCODE__BASE) + \ - (((minor) % 1000u) * CMake_VERSION_ENCODE__BASE) + \ - (((patch) % CMake_VERSION_ENCODE__BASE))) + ((((major)*1000u) * CMake_VERSION_ENCODE_BASE) + \ + (((minor) % 1000u) * CMake_VERSION_ENCODE_BASE) + \ + (((patch) % CMake_VERSION_ENCODE_BASE))) |