Skip to content

Commit e47f16b

Browse files
authored
Merge pull request #19947 from jketema/function-confusion
C++: Move builtin function identification to its own table
2 parents c4ec076 + 1103644 commit e47f16b

File tree

12 files changed

+10882
-1126
lines changed

12 files changed

+10882
-1126
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 f, string n, int k, int new_k
6+
where
7+
functions(f, n, k) and
8+
if builtin_functions(f) then new_k = 6 else new_k = k
9+
select f, n, new_k

0 commit comments

Comments
 (0)