Skip to content
Snippets Groups Projects
Commit 8843aa88 authored by Andre Maroneze's avatar Andre Maroneze
Browse files

[analysis-scripts] estimate-difficulty: add a few more keywords

parent 4d5d4f62
No related branches found
No related tags found
No related merge requests found
...@@ -263,7 +263,9 @@ if dyncallees: ...@@ -263,7 +263,9 @@ if dyncallees:
# unsupported C11-specific features # unsupported C11-specific features
c11_unsupported = ["_Alignas", "_Alignof", "_Complex", "_Generic", "_Imaginary"] c11_unsupported = ["_Alignas", "_Alignof", "_Complex", "_Generic", "_Imaginary",
"alignas", "alignof" # stdalign.h may use these symbols instead of the C11 keywords
];
for keyword in c11_unsupported: for keyword in c11_unsupported:
out = subprocess.Popen(["grep", "-n", '\\b' + keyword + '\\b'] + files + ["/dev/null"], out = subprocess.Popen(["grep", "-n", '\\b' + keyword + '\\b'] + files + ["/dev/null"],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment