[llvm] r202758 - Avoid std::function until PR19030 is fixed

Reid Kleckner reid at kleckner.net
Mon Mar 3 13:12:14 PST 2014

Author: rnk
Date: Mon Mar  3 15:12:13 2014
New Revision: 202758

URL: http://llvm.org/viewvc/llvm-project?rev=202758&view=rev
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


Modified: llvm/trunk/docs/CodingStandards.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CodingStandards.rst?rev=202758&r1=202757&r2=202758&view=diff
--- llvm/trunk/docs/CodingStandards.rst (original)
+++ llvm/trunk/docs/CodingStandards.rst Mon Mar  3 15:12:13 2014
@@ -109,6 +109,9 @@ unlikely to be supported by our host com
 * ``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 com
 .. _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

More information about the llvm-commits mailing list