From dd0f0d6a9dd46d83ecb81dc57adf94f8f7bb67b6 Mon Sep 17 00:00:00 2001 From: "Duncan P. N. Exon Smith" Date: Thu, 17 Apr 2014 18:02:36 +0000 Subject: [PATCH] C++11: Compatibility with (C++03 => MSVC) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206481 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/CodingStandards.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/CodingStandards.rst b/docs/CodingStandards.rst index a90e94b450c..0fcca0330f4 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++ -- 2.34.1