summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2014-03-03 21:12:13 +0000
committerReid Kleckner <reid@kleckner.net>2014-03-03 21:12:13 +0000
commit739dd523e665d58ad86772d4e4dcaa138047f65b (patch)
tree1b51a98cd8b710b7fedb4ba79a1bf0d16025c2c7 /docs
parenta2e96a968df003ec6c0b6e467220774980f7c8b1 (diff)
downloadllvm-739dd523e665d58ad86772d4e4dcaa138047f65b.tar.gz
llvm-739dd523e665d58ad86772d4e4dcaa138047f65b.tar.bz2
llvm-739dd523e665d58ad86772d4e4dcaa138047f65b.tar.xz
Avoid std::function until PR19030 is fixed
We'd like to keep the clang-cl self-host working until we implement MSVC-compatible RTTI. Differential Revision: http://llvm-reviews.chandlerc.com/D2930 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202758 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/CodingStandards.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/CodingStandards.rst b/docs/CodingStandards.rst
index 680747be79..a762bf358e 100644
--- a/docs/CodingStandards.rst
+++ b/docs/CodingStandards.rst
@@ -109,6 +109,9 @@ unlikely to be supported by our host compilers.
* ``auto`` type deduction: N1984_, N1737_
* Trailing return types: N2541_
* Lambdas: N2927_
+
+ * But *not* ``std::function``, until Clang implements `MSVC-compatible RTTI`_.
+
* ``decltype``: N2343_
* Nested closing right angle brackets: N1757_
* Extern templates: N1987_
@@ -138,6 +141,7 @@ unlikely to be supported by our host compilers.
.. _N3206: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3206.htm
.. _N3272: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3272.htm
.. _N2429: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2429.htm
+.. _MSVC-compatible RTTI: http://llvm.org/PR18951
The supported features in the C++11 standard libraries are less well tracked,
but also much greater. Most of the standard libraries implement most of C++11's