summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-08-19 16:49:40 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-08-19 16:49:40 +0000
commit38f556d96d564fbd0fa9f76b5bd049338698b053 (patch)
tree3fc48f71968ac51b3e239c2bc51e94ce8037e73a /llvm/docs
parent317c139f23d7139b20ec0a48062720b4b0a265a4 (diff)
downloadbcm5719-llvm-38f556d96d564fbd0fa9f76b5bd049338698b053.tar.gz
bcm5719-llvm-38f556d96d564fbd0fa9f76b5bd049338698b053.zip
CodingStandards: Document std::equal misbehaviour
I should have included this as part of r215986, which worked around this corner by changing ArrayRef::equals() not to use std::equal. Alas. llvm-svn: 215988
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/CodingStandards.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/docs/CodingStandards.rst b/llvm/docs/CodingStandards.rst
index 3cfa1f66ab4..7aa28f346c5 100644
--- a/llvm/docs/CodingStandards.rst
+++ b/llvm/docs/CodingStandards.rst
@@ -162,6 +162,8 @@ being aware of:
* ``std::initializer_list`` (and the constructors and functions that take it as
an argument) are not always available, so you cannot (for example) initialize
a ``std::vector`` with a braced initializer list.
+* ``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