Skip to content

Commit a205a03

Browse files
authored
Merge pull request github#15210 from jketema/function-types
C++: Support more function types
2 parents 6713436 + 262985a commit a205a03

File tree

10 files changed

+8990
-0
lines changed

10 files changed

+8990
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
class Function extends @function {
2+
string toString() { none() }
3+
}
4+
5+
from Function fun, string name, int kind, int kind_new
6+
where
7+
functions(fun, name, kind) and
8+
if kind = 7 or kind = 8 then kind_new = 0 else kind_new = kind
9+
select fun, name, kind_new

0 commit comments

Comments
 (0)