diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-04-22 13:42:27 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-04-22 13:42:27 +0000 |
commit | 32e9464afc366badacad1101310f415a140b14f9 (patch) | |
tree | f8f89f195483cf12ef4056b4b6a85a8eb75b0dd3 | |
parent | a24357887dc2e6971fb84286be4484953565dc4d (diff) |
ccc-analyzer: Don't create preprocessed files about the ignored 'cdecl' attribute. We know Clang doesn't support it yet.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69802 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-x | utils/ccc-analyzer | 5 |
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/); |