File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
rust/ql/src/queries/telemetry Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -31,11 +31,21 @@ module CallTargetStats implements StatsSig {
3131}
3232
3333module MacroCallTargetStats implements StatsSig {
34- int getNumberOfOk ( ) { result = count ( MacroCall c | c .hasMacroCallExpansion ( ) ) }
34+ int getNumberOfOk ( ) {
35+ result =
36+ count ( MacroCall c |
37+ not c .getFile ( ) .( ExtractedFile ) .isSkippedByCompilation ( ) and c .hasMacroCallExpansion ( )
38+ )
39+ }
3540
3641 additional predicate isNotOkCall ( MacroCall c ) { not c .hasMacroCallExpansion ( ) }
3742
38- int getNumberOfNotOk ( ) { result = count ( MacroCall c | isNotOkCall ( c ) ) }
43+ int getNumberOfNotOk ( ) {
44+ result =
45+ count ( MacroCall c |
46+ not c .getFile ( ) .( ExtractedFile ) .isSkippedByCompilation ( ) and isNotOkCall ( c )
47+ )
48+ }
3949
4050 string getOkText ( ) { result = "macro calls with call target" }
4151
You can’t perform that action at this time.
0 commit comments