Lines Matching full:side

1 // RUN: %check_clang_tidy %s bugprone-macro-repeated-side-effects %t
6 …[@LINE-1]]:14: warning: side effects in the 1st macro argument 'x' are repeated in macro expansion… in bad()
9 // CHECK-NOTES: :[[@LINE-1]]:14: warning: side effects in the 1st macro argument 'x' in bad()
12 // CHECK-NOTES: :[[@LINE-1]]:14: warning: side effects in the 1st macro argument 'x' in bad()
15 // CHECK-NOTES: :[[@LINE-1]]:14: warning: side effects in the 1st macro argument 'x' in bad()
18 // CHECK-NOTES: :[[@LINE-1]]:17: warning: side effects in the 2nd macro argument 'y' in bad()
21 // CHECK-NOTES: :[[@LINE-1]]:17: warning: side effects in the 2nd macro argument 'y' in bad()
24 // CHECK-NOTES: :[[@LINE-1]]:17: warning: side effects in the 2nd macro argument 'y' in bad()
27 // CHECK-NOTES: :[[@LINE-1]]:17: warning: side effects in the 2nd macro argument 'y' in bad()
36 // CHECK-NOTES: :[[@LINE-1]]:7: warning: side effects in the 1st macro argument 'A' in question()
39 // CHECK-NOTES: :[[@LINE-1]]:11: warning: side effects in the 2nd macro argument 'B' in question()
42 // CHECK-NOTES: :[[@LINE-1]]:9: warning: side effects in the 1st macro argument 'X' in question()
45 // CHECK-NOTES: :[[@LINE-1]]:13: warning: side effects in the 2nd macro argument 'A' in question()
48 // CHECK-NOTES: :[[@LINE-1]]:16: warning: side effects in the 3rd macro argument 'B' in question()
52 // False positive: Repeated side effects is intentional.
57 // CHECK-NOTES: :[[@LINE-1]]:10: warning: side effects in the 1st macro argument 'A' in fp1()
83 // CHECK-NOTES: :[[@LINE-1]]:64: warning: side effects in the 19th macro argument 's' in large()
86 // CHECK-NOTES: :[[@LINE-1]]:67: warning: side effects in the 20th macro argument 't' in large()
89 // CHECK-NOTES: :[[@LINE-1]]:70: warning: side effects in the 21st macro argument 'u' in large()
101 // CHECK-NOTES: :[[@LINE-1]]:21: warning: side effects in the 1st macro argument 'x' in builtins()
108 // CHECK-NOTES: :[[@LINE-1]]:19: warning: side effects in the 1st macro argument 'x' in builtins()