diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-04-17 18:02:36 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-04-17 18:02:36 +0000 |
commit | dd0f0d6a9dd46d83ecb81dc57adf94f8f7bb67b6 (patch) | |
tree | c493392f1a19304b21ce41df9167f43de0a7cfc6 /docs/CodingStandards.rst | |
parent | 5bcd7106b5aa60da1648b7c5e8426205092c1954 (diff) | |
download | llvm-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.rst | 6 |
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++ |