summaryrefslogtreecommitdiff
path: root/test/asan/TestCases/alloca_loop_unpoisoning.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/asan/TestCases/alloca_loop_unpoisoning.cpp')
-rw-r--r--test/asan/TestCases/alloca_loop_unpoisoning.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/asan/TestCases/alloca_loop_unpoisoning.cpp b/test/asan/TestCases/alloca_loop_unpoisoning.cpp
index f9d32aafd..a3d7ca1dc 100644
--- a/test/asan/TestCases/alloca_loop_unpoisoning.cpp
+++ b/test/asan/TestCases/alloca_loop_unpoisoning.cpp
@@ -24,11 +24,11 @@ void *top, *bot;
__attribute__((noinline)) void foo(int len) {
char x;
top = &x;
- char array[len]; // NOLINT
+ char array[len];
assert(!(reinterpret_cast<uintptr_t>(array) & 31L));
alloca(len);
for (int i = 0; i < 32; ++i) {
- char array[i]; // NOLINT
+ char array[i];
bot = alloca(i);
assert(!(reinterpret_cast<uintptr_t>(bot) & 31L));
}