Skip to content

Commit f403fbd

Browse files
committed
RULE-21-11: Add compiler-specific expected results
These queries report macro invocations for standard library macros which are defined with different argument names depending on the compiler.
1 parent e4151cf commit f403fbd

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
| test.c:5:3:5:9 | sqrt(__x) | Call to banned macro sqrt. |
2+
| test.c:7:3:7:8 | sin(__x) | Call to banned macro sin. |
3+
| test.c:10:21:10:28 | sqrt(__x) | Call to banned macro sqrt. |
4+
| test.c:11:3:11:10 | creal(__x) | Call to banned macro creal. |
5+
| test.c:12:3:12:10 | cimag(__x) | Call to banned macro cimag. |
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
| test.c:5:3:5:9 | sqrt(Val) | Call to banned macro sqrt. |
2+
| test.c:7:3:7:8 | sin(Val) | Call to banned macro sin. |
3+
| test.c:10:21:10:28 | sqrt(Val) | Call to banned macro sqrt. |
4+
| test.c:11:3:11:10 | creal(Val) | Call to banned macro creal. |
5+
| test.c:12:3:12:10 | cimag(Val) | Call to banned macro cimag. |

0 commit comments

Comments
 (0)