Skip to content

Commit 3d4953f

Browse files
committed
NFC De-indent some tests
1 parent c2b5e71 commit 3d4953f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

clang/test/Analysis/out-of-bounds-new.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -183,16 +183,16 @@ int test_reference_that_might_be_after_the_end(int idx) {
183183
// From: https://github.com/llvm/llvm-project/issues/100762
184184
extern int arr[10];
185185
void using_builtin(int x) {
186-
__builtin_assume(x > 101); // CallExpr
187-
arr[x] = 404; // expected-warning{{Out of bound access to memory}}
186+
__builtin_assume(x > 101); // CallExpr
187+
arr[x] = 404; // expected-warning{{Out of bound access to memory}}
188188
}
189189

190190
void using_assume_attr(int ax) {
191-
[[assume(ax > 100)]]; // NullStmt with an "assume" attribute.
192-
arr[ax] = 405; // expected-warning{{Out of bound access to memory}}
191+
[[assume(ax > 100)]]; // NullStmt with an "assume" attribute.
192+
arr[ax] = 405; // expected-warning{{Out of bound access to memory}}
193193
}
194194

195195
void using_many_assume_attr(int yx) {
196-
[[assume(yx > 104), assume(yx > 200), assume(yx < 300)]]; // NullStmt with an attribute
197-
arr[yx] = 406; // expected-warning{{Out of bound access to memory}}
196+
[[assume(yx > 104), assume(yx > 200), assume(yx < 300)]]; // NullStmt with an attribute
197+
arr[yx] = 406; // expected-warning{{Out of bound access to memory}}
198198
}

0 commit comments

Comments
 (0)