We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5b1e2ab + 2409f96 commit b5f6778Copy full SHA for b5f6778
experiment/benchmark.py
@@ -37,7 +37,7 @@ def parse_function_name(function_signature: str) -> str:
37
# Invalid matches:
38
# 1. __attribute__((.*))
39
# 2. __attribute__((alloc_size(1)))
40
- names = re.findall(r'.*?\s*([\w:<>+*~])\s*\([^\(]*\)', function_signature)
+ names = re.findall(r'.*?\s*([\w:<>+*~]+)\s*\([^\(]*\)', function_signature)
41
if names:
42
# Normalize names.
43
return re.sub(r'[^\w:]', '-', names[-1])
0 commit comments