[PATCH] D133853: [AST] Add msvc-specific C++11 attributes
H. Vetinari via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 22 10:11:04 PDT 2022
h-vetinari added a comment.
> Now I'm wondering why the attribute exists at all. If it's functionally equivalent to `constexpr` as a keyword, what are the use cases for the attribute?
I'm guessing something to do with ABI-compatibility with artefacts produced by their older compilers (though I have no idea what scenario they have come up with that would break). It's also for a very recent version (17.3, the last non-preview release as of writing), and I cannot find documentation for it.
Though while searching for it, I stumbled over https://reviews.llvm.org/D110485, which relates to `[[no_unique_address]]` & how it's incompatible to use it for clang on windows if MSVC doesn't.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D133853/new/
https://reviews.llvm.org/D133853
More information about the cfe-commits
mailing list