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]]:11: warning: result of multiplication in type 'int' is used as a … in t0()
19 // CHECK-NOTES-ALL: :[[@LINE-5]]:16: note: perform multiplication in a wider type in t0()
25 …// CHECK-NOTES-ALL: :[[@LINE-1]]:12: warning: result of multiplication in type 'int' is used as a … in t1()
27 // CHECK-NOTES-ALL: :[[@LINE-3]]:13: note: perform multiplication in a wider type in t1()
32 …// CHECK-NOTES-ALL: :[[@LINE-1]]:11: warning: result of multiplication in type 'unsigned int' is u… in t2()
36 // CHECK-NOTES-ALL: :[[@LINE-5]]:16: note: perform multiplication in a wider type in t2()
43 …// CHECK-NOTES-ALL: :[[@LINE-1]]:11: warning: result of multiplication in type 'unsigned int' is u… in t3()
45 // CHECK-NOTES-ALL: :[[@LINE-3]]:16: note: perform multiplication in a wider type in t3()
50 …// CHECK-NOTES-ALL: :[[@LINE-1]]:11: warning: result of multiplication in type 'unsigned int' is u… in t4()
52 // CHECK-NOTES-ALL: :[[@LINE-3]]:16: note: perform multiplication in a wider type in t4()
64 …// CHECK-NOTES-ALL: :[[@LINE-1]]:11: warning: result of multiplication in type 'int' is used as a … in t7()
66 // CHECK-NOTES-ALL: :[[@LINE-3]]:17: note: perform multiplication in a wider type in t7()