Disable Visual C++ 2013 Debug mode assert on null pointer in some STL algorithms,
authorYaron Keren <yaron.keren@gmail.com>
Fri, 21 Aug 2015 17:31:03 +0000 (17:31 +0000)
committerYaron Keren <yaron.keren@gmail.com>
Fri, 21 Aug 2015 17:31:03 +0000 (17:31 +0000)
such as std::equal on the third argument. This reverts previous workarounds.

Predefining _DEBUG_POINTER_IMPL disables Visual C++ 2013 headers from defining
it to a function performing the null pointer check. In practice, it's not that
bad since any function actually using the nullptr will seg fault. The other
iterator sanity checks remain enabled in the headers.

Reviewed by Aaron Ballmanþ and Duncan P. N. Exon Smith.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245711 91177308-0d34-0410-b5e6-96231b3b80d8


No differences found