From 4cd3dc95d9b546b1293a608e2c0da0e3ec590e37 Mon Sep 17 00:00:00 2001 From: David Young Date: Tue, 18 Feb 2020 16:31:35 -0600 Subject: Filter all of the new _USED / _UNUSED type modifiers. --- bin/trace | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/trace b/bin/trace index d9ab6cb..400235c 100755 --- a/bin/trace +++ b/bin/trace @@ -240,6 +240,11 @@ sub argstring ($$$) { # certain type qualifiers, and indirection. $atype =~ s/^\bconst\b//; $atype =~ s/\bH5_ATTR_UNUSED\b//g; + $atype =~ s/\bH5_ATTR_DEPRECATED_USED\b//g; + $atype =~ s/\bH5_ATTR_NDEBUG_UNUSED\b//g; + $atype =~ s/\bH5_ATTR_DEBUG_API_USED\b//g; + $atype =~ s/\bH5_ATTR_PARALLEL_UNUSED\b//g; + $atype =~ s/\bH5_ATTR_PARALLEL_USED\b//g; $atype =~ s/\s+/ /g; $ptr = length $1 if $atype =~ s/(\*+)//; $atype =~ s/^\s+//; -- cgit v0.12