forked from OSchip/llvm-project
[analyzer] Fix diagnostics/explicit-suppression.cpp
*OI++ = *II++ is on line 670, not 668 llvm-svn: 345992
This commit is contained in:
parent
1fc1f8e819
commit
6f6731b36e
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue