summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorYaron Keren <yaron.keren@gmail.com>2015-08-21 17:31:03 +0000
committerYaron Keren <yaron.keren@gmail.com>2015-08-21 17:31:03 +0000
commit528d8d609229b2b59809a9c546ecf1dbf971c882 (patch)
treee3f6fd789d5bd8001708ac4c25927ba9112301c8 /llvm/docs
parent8eadc3f38b73759b3e77425c0037774730ec0a7a (diff)
downloadbcm5719-llvm-528d8d609229b2b59809a9c546ecf1dbf971c882.tar.gz
bcm5719-llvm-528d8d609229b2b59809a9c546ecf1dbf971c882.zip
Disable Visual C++ 2013 Debug mode assert on null pointer in some STL algorithms,
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. llvm-svn: 245711
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/CodingStandards.rst2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/docs/CodingStandards.rst b/llvm/docs/CodingStandards.rst
index f410293e1bf..91faadffea6 100644
--- a/llvm/docs/CodingStandards.rst
+++ b/llvm/docs/CodingStandards.rst
@@ -178,8 +178,6 @@ being aware of:
* While most of the atomics library is well implemented, the fences are
missing. Fortunately, they are rarely needed.
* The locale support is incomplete.
-* ``std::equal()`` (and other algorithms) incorrectly assert in MSVC when given
- ``nullptr`` as an iterator.
Other than these areas you should assume the standard library is available and
working as expected until some build bot tells you otherwise. If you're in an
OpenPOWER on IntegriCloud