Loading .clang-format +0 −1 Original line number Diff line number Diff line Loading @@ -30,7 +30,6 @@ NamespaceIndentation: All PointerAlignment: Left SpaceBeforeParens: Never Cpp11BracedListStyle: true Standard: Cpp11 IndentWidth: 4 TabWidth: 4 UseTab: Never Loading cmake/clang-cpp-checks.cmake +1 −1 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ IF(CLANG_FORMAT) STRING(REGEX REPLACE ".* ([0-9]+)\\.[0-9]+\\.[0-9]+.*" "\\1" CLANG_MAJOR_VERSION ${CLANG_VERSION}) # Let's treat macOS differently because they don't have up-to-date versions IF(${CLANG_MAJOR_VERSION} EQUAL ${CLANG_FORMAT_VERSION} OR DEFINED ${APPLE}) IF(${CLANG_MAJOR_VERSION} EQUAL ${CLANG_FORMAT_VERSION} OR DEFINED APPLE) # On macOS we might have the right version - or not.. IF(NOT ${CLANG_MAJOR_VERSION} EQUAL ${CLANG_FORMAT_VERSION}) MESSAGE( Loading Loading
.clang-format +0 −1 Original line number Diff line number Diff line Loading @@ -30,7 +30,6 @@ NamespaceIndentation: All PointerAlignment: Left SpaceBeforeParens: Never Cpp11BracedListStyle: true Standard: Cpp11 IndentWidth: 4 TabWidth: 4 UseTab: Never Loading
cmake/clang-cpp-checks.cmake +1 −1 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ IF(CLANG_FORMAT) STRING(REGEX REPLACE ".* ([0-9]+)\\.[0-9]+\\.[0-9]+.*" "\\1" CLANG_MAJOR_VERSION ${CLANG_VERSION}) # Let's treat macOS differently because they don't have up-to-date versions IF(${CLANG_MAJOR_VERSION} EQUAL ${CLANG_FORMAT_VERSION} OR DEFINED ${APPLE}) IF(${CLANG_MAJOR_VERSION} EQUAL ${CLANG_FORMAT_VERSION} OR DEFINED APPLE) # On macOS we might have the right version - or not.. IF(NOT ${CLANG_MAJOR_VERSION} EQUAL ${CLANG_FORMAT_VERSION}) MESSAGE( Loading