[PATCH] D105518: [clang] disable P2266 simpler implicit moves under -fms-compatibility
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 7 04:05:14 PDT 2021
aaron.ballman added a reviewer: rsmith.
aaron.ballman added a comment.
Thank you for working on this! I applied the patch locally and confirmed that it solves the issue at hand.
However, I'm not certain this is the right approach; what's the plan moving forward? This patch means that users of clang-cl will not get the simpler implicit moves. Once the STL gets fixed, then what? We can't remove this check for MS compat because then people using older STLs will go back to getting unacceptable compile errors and I'd hate to have to wait for long enough that old MSVC STLs have fallen out of circulation before enabling simpler implicit moves for clang-cl users.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105518/new/
https://reviews.llvm.org/D105518
More information about the cfe-commits
mailing list