[analyzer] Fix diagnostics/explicit-suppression.cpp
authorFangrui Song <maskray@google.com>
Fri, 2 Nov 2018 16:23:37 +0000 (16:23 +0000)
committerFangrui Song <maskray@google.com>
Fri, 2 Nov 2018 16:23:37 +0000 (16:23 +0000)
*OI++ = *II++ is on line 670, not 668

llvm-svn: 345992

clang/test/Analysis/diagnostics/explicit-suppression.cpp

index a80d680..5ab3fcb 100644 (file)
@@ -19,6 +19,6 @@ class C {
 void testCopyNull(C *I, C *E) {
   std::copy(I, E, (C *)0);
 #ifndef SUPPRESSED
-  // expected-warning@../Inputs/system-header-simulator-cxx.h:668 {{Called C++ object pointer is null}}
+  // expected-warning@../Inputs/system-header-simulator-cxx.h:670 {{Called C++ object pointer is null}}
 #endif
 }