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 | b6f5811a3fc2ec9f8bf4ae8a67430d561773d631 (patch) | |
| tree | 0fb69b0d95d23b8d7cb03fa899dc9aad8bcda67f /llvm/docs | |
| parent | 8443d58a8126c7a7ebb25cdceba13169b10b3350 (diff) | |
| download | bcm5719-llvm-b6f5811a3fc2ec9f8bf4ae8a67430d561773d631.tar.gz bcm5719-llvm-b6f5811a3fc2ec9f8bf4ae8a67430d561773d631.zip | |
C++11: Compatibility with (C++03 => MSVC)
llvm-svn: 206481
Diffstat (limited to 'llvm/docs')
| -rw-r--r-- | llvm/docs/CodingStandards.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/docs/CodingStandards.rst b/llvm/docs/CodingStandards.rst index a90e94b450c..0fcca0330f4 100644 --- a/llvm/docs/CodingStandards.rst +++ b/llvm/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++ |

