[analyzer] Fix diagnostics/explicit-suppression.cpp

*OI++ = *II++ is on line 670, not 668

llvm-svn: 345992
This commit is contained in:
Fangrui Song 2018-11-02 16:23:37 +00:00
parent 1fc1f8e819
commit 6f6731b36e
1 changed files with 1 additions and 1 deletions

View 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
}