diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index e160ed8..4852e74 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt @@ -75,7 +75,7 @@ qt5_use_modules(${EXECUTABLE_NAME} Core Widgets) LIST(APPEND CHECKSTYLE_INPUT_FILES ${APPLICATION_SOURCES}) SCIQLOP_SET_TO_PARENT_SCOPE(CHECKSTYLE_INPUT_FILES) # Vera++ exclusion files -#LIST(APPEND CHECKSTYLE_EXCLUSION_FILES ${CMAKE_CURRENT_SOURCE_DIR}/path/to/exclusionFiles.tcl) +LIST(APPEND CHECKSTYLE_EXCLUSION_FILES ${CMAKE_CURRENT_SOURCE_DIR}/vera-exclusions/exclusions.txt) SCIQLOP_SET_TO_PARENT_SCOPE(CHECKSTYLE_EXCLUSION_FILES) # diff --git a/app/vera-exclusions/exclusions.txt b/app/vera-exclusions/exclusions.txt new file mode 100644 index 0000000..f6204f8 --- /dev/null +++ b/app/vera-exclusions/exclusions.txt @@ -0,0 +1,3 @@ +# Ignore false positive relative to sqpApp macro +SqpApplication\.h:\d+:.IPSIS_S03.*found: sqpApp +SqpApplication\.h:\d+:.IPSIS_S04_VARIABLE.*found: sqpApp diff --git a/formatting/vera-exclusions/exclusions.txt b/formatting/vera-exclusions/exclusions.txt index 44b1f23..2b00cc6 100644 --- a/formatting/vera-exclusions/exclusions.txt +++ b/formatting/vera-exclusions/exclusions.txt @@ -2,3 +2,7 @@ .*IPSIS_S04_METHOD.*found: Q_DECLARE_LOGGING_CATEGORY.* .*IPSIS_S04_VARIABLE.*found: impl.* + +# Ignore false positive relative to 'noexcept' keyword +.*IPSIS_S04_VARIABLE.*found: noexcept +.*IPSIS_S06.*found: noexcept