Skip to content

Commit 2363494

Browse files
committed
Re-enable all unix checkers to ensure they are compatible with non-default address spaces
1 parent 22e3c62 commit 2363494

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/Analysis/element-region-address-space.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: %clang_analyze_cc1 -triple amdgcn-unknown-unknown \
22
// RUN: -Wno-incompatible-library-redeclaration \
3-
// RUN: -analyzer-checker=core,unix.cstring.BadSizeArg -verify %s
3+
// RUN: -analyzer-checker=core,unix -verify %s
44

55
// expected-no-diagnostics
66
//
@@ -24,4 +24,4 @@ ADDRESS_SPACE_64BITS struct {
2424

2525
void avoid_cstring_checker_crash(ADDRESS_SPACE_32BITS char *p) {
2626
memcpy(&n.m[0], p, 4); // no-crash
27-
}
27+
}

0 commit comments

Comments
 (0)