summaryrefslogtreecommitdiff
path: root/docs/CodingStandards.rst
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-04-17 18:02:36 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-04-17 18:02:36 +0000
commitdd0f0d6a9dd46d83ecb81dc57adf94f8f7bb67b6 (patch)
treec493392f1a19304b21ce41df9167f43de0a7cfc6 /docs/CodingStandards.rst
parent5bcd7106b5aa60da1648b7c5e8426205092c1954 (diff)
downloadllvm-dd0f0d6a9dd46d83ecb81dc57adf94f8f7bb67b6.tar.gz
llvm-dd0f0d6a9dd46d83ecb81dc57adf94f8f7bb67b6.tar.bz2
llvm-dd0f0d6a9dd46d83ecb81dc57adf94f8f7bb67b6.tar.xz
C++11: Compatibility with (C++03 => MSVC)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206481 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CodingStandards.rst')
-rw-r--r--docs/CodingStandards.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/CodingStandards.rst b/docs/CodingStandards.rst
index a90e94b450..0fcca0330f 100644
--- a/docs/CodingStandards.rst
+++ b/docs/CodingStandards.rst
@@ -1284,9 +1284,9 @@ method will never be implemented. This enables other checks like
``-Wunused-private-field`` to run correctly on classes that contain these
methods.
-To maintain compatibility with C++03, ``LLVM_DELETED_FUNCTION`` should be used
-which will expand to ``= delete`` if the compiler supports it. These methods
-should still be declared private. Example of the uncopyable pattern:
+For compatibility with MSVC, ``LLVM_DELETED_FUNCTION`` should be used which
+will expand to ``= delete`` on compilers that support it. These methods should
+still be declared private. Example of the uncopyable pattern:
.. code-block:: c++