Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

non_null_attr: tolerate the lack of 'A' in the AST #695

Merged
merged 1 commit into from
May 2, 2018

Conversation

kph
Copy link
Contributor

@kph kph commented May 1, 2018

Change regexp to tolerate 'A' being omitted.

The C source code that creates this is:

extern int blkid_probe_filter_superblocks_usage(blkid_probe pr, int flag, int usage)
ul_attribute((nonnull));

Signed-off-by: Kevin Paul Herbert kph@platinasystems.com


This change is Reviewable

Change regexp to tolerate 'A' being omitted.

The C source code that creates this is:

extern int blkid_probe_filter_superblocks_usage(blkid_probe pr, int flag, int usage)
			__ul_attribute__((nonnull));

Signed-off-by: Kevin Paul Herbert <kph@platinasystems.com>
@codecov
Copy link

codecov bot commented May 1, 2018

Codecov Report

Merging #695 into master will decrease coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #695      +/-   ##
==========================================
- Coverage   81.86%   81.84%   -0.02%     
==========================================
  Files         164      164              
  Lines        8937     8940       +3     
==========================================
+ Hits         7316     7317       +1     
- Misses       1219     1221       +2     
  Partials      402      402
Impacted Files Coverage Δ
ast/non_null_attr.go 94.44% <100%> (+0.5%) ⬆️
main.go 55.18% <0%> (-0.95%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5fc3427...e4e0620. Read the comment docs.

@elliotchance
Copy link
Owner

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.


Comments from Reviewable

@elliotchance elliotchance merged commit 4d0afe8 into elliotchance:master May 2, 2018
@elliotchance
Copy link
Owner

Perfect! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants