diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2020-05-18 22:26:28 +0200 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2020-05-19 01:25:57 +0200 |
| commit | d1c0ce0393cab5442bdfbe8e03fd748d8dcdb2ed (patch) | |
| tree | 32fb9ecdd83368deec6d2f55b4e59492d7a24b10 /validation | |
| parent | b496110b16a66d0a28be3994284013374e5f9645 (diff) | |
| download | sparse-dev-d1c0ce0393cab5442bdfbe8e03fd748d8dcdb2ed.tar.gz | |
attribute: 'externally_visible' is just another 'declaration' modifier
Now that the distinction is made between type modifiers and
'declaration' modifiers, there is no more reasons to parse
this attribute differently than other attributes/modifiers.
Even more so because this special casing made this attribute
to be ignored when placed after the declarator.
So, use the the generic code for 'declaration modifiers'
to parse this attribute.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation')
| -rw-r--r-- | validation/attr-visible.c | 1 | ||||
| -rw-r--r-- | validation/attr-visible2.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/validation/attr-visible.c b/validation/attr-visible.c index 38ee8575..ce35e4e5 100644 --- a/validation/attr-visible.c +++ b/validation/attr-visible.c @@ -9,5 +9,4 @@ int flag __visible; /* * check-name: attr-visible * check-command: sparse -Wdecl $file - * check-known-to-fail */ diff --git a/validation/attr-visible2.c b/validation/attr-visible2.c index 62949b47..98918169 100644 --- a/validation/attr-visible2.c +++ b/validation/attr-visible2.c @@ -6,5 +6,4 @@ int arr[2] __visible; /* * check-name: attr-visible-after * check-command: sparse -Wdecl $file - * check-known-to-fail */ |
