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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits