Skip to content

Commit 2b00ac1

Browse files
committed
remove comment
1 parent 2261812 commit 2b00ac1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

clang/test/Sema/strict-nullability.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ void takes_nonnull(int * _Nonnull p) {
1616
void takes_nullable(int* p) {
1717
if (p) {// Need null check for nullable
1818
*p = 42;
19-
// TODO: Invalidate narrowing after function calls that could modify the pointer
20-
// (see Phase 4 - narrowing invalidation)
2119
*p = 23;
2220
} else {
2321
*p=7; // expected-warning{{dereferencing nullable pointer of type 'int * _Nullable'}}

0 commit comments

Comments
 (0)