| 1934 | } |
| 1935 | |
| 1936 | static bool func_is_static(TSNode func_node) { |
| 1937 | uint32_t n = ts_node_child_count(func_node); |
| 1938 | for (uint32_t i = 0; i < n; i++) { |
| 1939 | TSNode child = ts_node_child(func_node, i); |
| 1940 | if (strcmp(ts_node_type(child), "storage_class_specifier") == 0 && |
| 1941 | ts_node_child_count(child) > 0 && |
| 1942 | strcmp(ts_node_type(ts_node_child(child, 0)), "static") == 0) { |
| 1943 | return true; |
| 1944 | } |
| 1945 | } |
| 1946 | return false; |
| 1947 | } |
| 1948 | |
| 1949 | const char *cbm_platform_neutral_qn(CBMArena *a, CBMLanguage lang, const char *project, |
| 1950 | const char *rel_path, const char *name, const char *qn, |
no outgoing calls
no test coverage detected