[PATCH] D91913: Suppress non-conforming GNU paste extension in all standard-conforming modes
Harald van Dijk via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 25 09:33:35 PST 2021
hvdijk added a comment.
Okay, GCC enables the standards-mandated behaviour with `-std=c++17 -fms-extensions` as well, but GCC doesn't have any `-fms-compatibility` option to compare. It makes sense to me for `clang -std=c++17 -fms-compatibility` to match MSVC, and MSVC supports this GCC extension even in those cases where it conflicts with the standard, so I'll try to submit a patch to restore this, conditional on `-fms-compatibility`, later today.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91913/new/
https://reviews.llvm.org/D91913
More information about the cfe-commits
mailing list