Lines Matching full:multiplication
1 …tidy -check-suffixes=ALL,C -std=c99 %s bugprone-implicit-widening-of-multiplication-result %t -- -…
2 // RUN: %check_clang_tidy -check-suffixes=ALL,CXX %s bugprone-implicit-widening-of-multiplication-r…
4 …_tidy -check-suffixes=ALL,C -std=c99 %s bugprone-implicit-widening-of-multiplication-result %t -- \
6 // RUN: bugprone-implicit-widening-of-multiplication-result.UseCXXStaticCastsInCppSources: …
8 // RUN: %check_clang_tidy -check-suffixes=ALL,C %s bugprone-implicit-widening-of-multiplication-res…
10 // RUN: bugprone-implicit-widening-of-multiplication-result.UseCXXStaticCastsInCppSources: …
15 …// CHECK-NOTES-ALL: :[[@LINE-1]]:10: warning: result of multiplication in type 'int' is used as a … in t0()
19 // CHECK-NOTES-ALL: :[[@LINE-5]]:17: note: perform multiplication in a wider type in t0()
25 …// CHECK-NOTES-ALL: :[[@LINE-1]]:10: warning: result of multiplication in type 'int' is used as a … in t1()
27 // CHECK-NOTES-ALL: :[[@LINE-3]]:10: note: perform multiplication in a wider type in t1()
32 …// CHECK-NOTES-ALL: :[[@LINE-1]]:10: warning: result of multiplication in type 'unsigned int' is u… in t2()
36 // CHECK-NOTES-ALL: :[[@LINE-5]]:17: note: perform multiplication in a wider type in t2()
43 …// CHECK-NOTES-ALL: :[[@LINE-1]]:10: warning: result of multiplication in type 'unsigned int' is u… in t3()
45 // CHECK-NOTES-ALL: :[[@LINE-3]]:17: note: perform multiplication in a wider type in t3()
50 …// CHECK-NOTES-ALL: :[[@LINE-1]]:10: warning: result of multiplication in type 'unsigned int' is u… in t4()
52 // CHECK-NOTES-ALL: :[[@LINE-3]]:17: note: perform multiplication in a wider type in t4()
57 …// CHECK-NOTES-ALL: :[[@LINE-1]]:10: warning: result of multiplication in type 'int' is used as a … in t5()
59 // CHECK-NOTES-ALL: :[[@LINE-3]]:17: note: perform multiplication in a wider type in t5()
63 …// CHECK-NOTES-ALL: :[[@LINE-1]]:10: warning: result of multiplication in type 'int' is used as a … in t6()
65 // CHECK-NOTES-ALL: :[[@LINE-3]]:21: note: perform multiplication in a wider type in t6()
70 …// CHECK-NOTES-ALL: :[[@LINE-1]]:10: warning: result of multiplication in type 'int' is used as a … in n7()
72 // CHECK-NOTES-ALL: :[[@LINE-3]]:18: note: perform multiplication in a wider type in n7()
76 …// CHECK-NOTES-ALL: :[[@LINE-1]]:10: warning: result of multiplication in type 'int' is used as a … in n8()
78 // CHECK-NOTES-ALL: :[[@LINE-3]]:18: note: perform multiplication in a wider type in n8()