Skip to content

Commit 1e4764e

Browse files
committed
Add a comment about when we can remove this construct; NFC.
1 parent 635cbef commit 1e4764e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/include/llvm/Support/Compiler.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@
9595
/// Does the compiler support ref-qualifiers for *this?
9696
///
9797
/// Sadly, this is separate from just rvalue reference support because GCC
98-
/// and MSVC implemented this later than everything else.
98+
/// and MSVC implemented this later than everything else. This appears to be
99+
/// corrected in MSVC 2019 but not MSVC 2017.
99100
#if __has_feature(cxx_rvalue_references) || LLVM_GNUC_PREREQ(4, 8, 1)
100101
#define LLVM_HAS_RVALUE_REFERENCE_THIS 1
101102
#else

0 commit comments

Comments
 (0)