You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@
2
2
3
3
The AMD fork aims to contain all of [upstream LLVM](https://github.com/llvm/llvm-project), and also includes several AMD-specific additions in the `llvm-project/amd directory`:
Copy file name to clipboardExpand all lines: clang-tools-extra/test/clang-tidy/checkers/bugprone/implicit-widening-of-multiplication-result-array-subscript-expression.cpp
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ char *t0(char *base, int a, int b) {
18
18
// CHECK-NOTES-CXX: static_cast<ptrdiff_t>( )
19
19
// CHECK-NOTES-ALL: :[[@LINE-5]]:16: note: perform multiplication in a wider type
20
20
// CHECK-NOTES-C: (ptrdiff_t)
21
-
// CHECK-NOTES-CXX: static_cast<ptrdiff_t>()
21
+
// CHECK-NOTES-CXX: static_cast<ptrdiff_t>()
22
22
}
23
23
void *t1(char *base, int a, int b) {
24
24
return &((a * b)[base]);
@@ -35,7 +35,7 @@ char *t2(char *base, unsigned int a, int b) {
35
35
// CHECK-NOTES-CXX: static_cast<size_t>( )
36
36
// CHECK-NOTES-ALL: :[[@LINE-5]]:16: note: perform multiplication in a wider type
Copy file name to clipboardExpand all lines: clang-tools-extra/test/clang-tidy/checkers/bugprone/implicit-widening-of-multiplication-result-pointer-offset.cpp
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ char *t0(char *base, int a, int b) {
18
18
// CHECK-NOTES-CXX: static_cast<ptrdiff_t>( )
19
19
// CHECK-NOTES-ALL: :[[@LINE-5]]:17: note: perform multiplication in a wider type
20
20
// CHECK-NOTES-C: (ptrdiff_t)
21
-
// CHECK-NOTES-CXX: static_cast<ptrdiff_t>()
21
+
// CHECK-NOTES-CXX: static_cast<ptrdiff_t>()
22
22
}
23
23
char *t1(char *base, int a, int b) {
24
24
return a * b + base;
@@ -35,7 +35,7 @@ char *t2(char *base, unsigned int a, int b) {
35
35
// CHECK-NOTES-CXX: static_cast<size_t>( )
36
36
// CHECK-NOTES-ALL: :[[@LINE-5]]:17: note: perform multiplication in a wider type
0 commit comments