aboutsummaryrefslogtreecommitdiff
path: root/tools/cppcheck_suppress_list.txt
diff options
context:
space:
mode:
authorChris Kay <chris.kay@arm.com>2020-06-16 14:04:23 +0100
committernicola-mazzucato-arm <42373140+nicola-mazzucato-arm@users.noreply.github.com>2020-08-28 08:45:53 +0100
commite3d2cceceb43fa8d68b53c192a9cccb623fdbd9a (patch)
tree8323f45751f475449a41973396a3773f615506d8 /tools/cppcheck_suppress_list.txt
parent99166e4c861fefa36b24d5eaceaf67d6430c0394 (diff)
fwk: Add compiler attribute macros
Some attributes are not available on all the toolchains we support. We need to have the ability to conditionally remove macros and hide the attribute syntax from the user for attributes that are not universally supported. This commit adds a macro alternative to all currently used attributes within the project to date. Change-Id: Ibf84bc8d0dc941c9db2f946e4ac20dd5bf44bf24 Signed-off-by: Chris Kay <chris.kay@arm.com>
Diffstat (limited to 'tools/cppcheck_suppress_list.txt')
-rw-r--r--tools/cppcheck_suppress_list.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/cppcheck_suppress_list.txt b/tools/cppcheck_suppress_list.txt
index 52153073..1e33a101 100644
--- a/tools/cppcheck_suppress_list.txt
+++ b/tools/cppcheck_suppress_list.txt
@@ -35,3 +35,6 @@ syntaxError:product/synquacer/module/synquacer_system/src/mmu500.c:34
// Cppcheck doesn't like include directives that use macros
preprocessorErrorDirective:framework/test/fwk_module_idx.h:14
+
+// Cppcheck does not properly parse the `FWK_HAS_INCLUDE` macro
+preprocessorErrorDirective:arch/arm/src/arch_mm.c:16