aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutils/ccc-analyzer5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/ccc-analyzer b/utils/ccc-analyzer
index 4e3f6dd354..5ca834a7b2 100755
--- a/utils/ccc-analyzer
+++ b/utils/ccc-analyzer
@@ -193,6 +193,11 @@ sub Analyze {
# Check if there were any unhandled attributes.
if (open(CHILD, $ofile)) {
my %attributes_not_handled;
+
+ # Don't flag warnings about the following attributes that we
+ # know are currently not supported by Clang.
+ $attributes_not_handled{"cdecl"} = 1;
+
my $ppfile;
while (<CHILD>) {
next if (! /warning: '([^\']+)' attribute ignored/);