diff options
Diffstat (limited to 'clang/test/Analysis/cast-value-notes.cpp')
-rw-r--r-- | clang/test/Analysis/cast-value-notes.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/test/Analysis/cast-value-notes.cpp b/clang/test/Analysis/cast-value-notes.cpp index f92ba90336a..a0eaeae8ba4 100644 --- a/clang/test/Analysis/cast-value-notes.cpp +++ b/clang/test/Analysis/cast-value-notes.cpp @@ -123,8 +123,7 @@ void evalZeroParamNonNullReturnPointer(const Shape *S) { void evalZeroParamNonNullReturn(const Shape &S) { const auto *C = S.castAs<Circle>(); - // expected-note@-1 {{'S' is a 'Circle'}} - // expected-note@-2 {{'C' initialized here}} + // expected-note@-1 {{'C' initialized here}} (void)(1 / !C); // expected-note@-1 {{'C' is non-null}} |