[llvm] r206480 - C++11: Document some limitations imposed by MSVC

Duncan P. N. Exon Smith dexonsmith at apple.com
Thu Apr 17 11:02:34 PDT 2014


Author: dexonsmith
Date: Thu Apr 17 13:02:34 2014
New Revision: 206480

URL: http://llvm.org/viewvc/llvm-project?rev=206480&view=rev
Log:
C++11: Document some limitations imposed by MSVC

Modified:
    llvm/trunk/docs/CodingStandards.rst

Modified: llvm/trunk/docs/CodingStandards.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CodingStandards.rst?rev=206480&r1=206479&r2=206480&view=diff
==============================================================================
--- llvm/trunk/docs/CodingStandards.rst (original)
+++ llvm/trunk/docs/CodingStandards.rst Thu Apr 17 13:02:34 2014
@@ -108,6 +108,7 @@ unlikely to be supported by our host com
 * Lambdas: N2927_
 
   * But *not* ``std::function``, until Clang implements `MSVC-compatible RTTI`_.
+  * And *not* lambdas with default arguments.
 
 * ``decltype``: N2343_
 * Nested closing right angle brackets: N1757_
@@ -116,6 +117,11 @@ unlikely to be supported by our host com
 * Strongly-typed and forward declarable enums: N2347_, N2764_
 * Local and unnamed types as template arguments: N2657_
 * Range-based for-loop: N2930_
+
+  * But ``{}`` are required around inner ``do {} while()`` loops.  As a result,
+    ``{}`` are required around function-like macros inside range-based for
+    loops.
+
 * ``override`` and ``final``: N2928_, N3206_, N3272_
 * Atomic operations and the C++11 memory model: N2429_
 





More information about the llvm-commits mailing list