You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by jb...@apache.org on 2018/10/13 22:10:55 UTC
[geode-native] 06/06: GEODE-5847: Ignore NewDeleteLeaks in old
integration tests.
This is an automated email from the ASF dual-hosted git repository.
jbarrett pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-native.git
commit 53be46dd863d0d7f3bd06b6f611b6eb741da1952
Author: Jacob Barrett <jb...@pivotal.io>
AuthorDate: Fri Oct 12 09:21:41 2018 -0700
GEODE-5847: Ignore NewDeleteLeaks in old integration tests.
Ignoring clang-analyzer-cplusplus.NewDeleteLeaks in old integration
tests because there is a fundamental flaw in the design the relies
on the leaking of memory. Because it uses MACROS to define the tasks
we also can't just ignore the offending lines.
---
cppcache/integration-test/.clang-tidy | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/cppcache/integration-test/.clang-tidy b/cppcache/integration-test/.clang-tidy
new file mode 100644
index 0000000..55e5f46
--- /dev/null
+++ b/cppcache/integration-test/.clang-tidy
@@ -0,0 +1,19 @@
+---
+Checks: '-*,clang-diagnostic-*,clang-analyzer-*,-clang-analyzer-alpha*,google-*,-google-readability-todo,-google-runtime-references,-google-default-arguments,-clang-analyzer-core.uninitialized.UndefReturn,-clang-analyzer-core.UndefinedBinaryOperatorResult,-clang-analyzer-optin.cplusplus.VirtualCall,-clang-analyzer-cplusplus.NewDeleteLeaks'
+WarningsAsErrors: '*'
+HeaderFilterRegex: '.*'
+FormatStyle: file
+...
+
+# Disable Checks
+# google-runtime-references - We have diverged from this rule due to both legacy and disagreement with the rule.
+# google-readability-todo - Adds current user name when fix applied.
+# clang-analyzer-cplusplus.NewDeleteLeaks - Fundamental design flaw in dunit::Task
+
+# TODO - Fix these checks
+# google-default-arguments
+# clang-analyzer-core.uninitialized.UndefReturn - Generates errors in ACE, how do we ignore?
+# clang-analyzer-core.UndefinedBinaryOperatorResult - Generates errors in ACE, how do we ignore?
+
+# TEMP
+# clang-analyzer-optin.cplusplus.VirtualCall
\ No newline at end of file