jdoerfert added a comment. In D85735#2210662 <https://reviews.llvm.org/D85735#2210662>, @JonChesterfield wrote:
> Nice. What makes it an extension? 5.0 / 2.3.5 claims "and where > variant-func-id is the name of a function variant that is either a base > language identifier or, for C++, a template-id." which suggests this could be > always-on This is for `begin/end declare variant`, a 5.1 feature. There it says: The begin declare variant directive associates the context selector in the match clause with each function definition in declaration-definition-seq. So it applies to function definitions between the begin and end. With the extension it applies to template function definitions too. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D85735/new/ https://reviews.llvm.org/D85735 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits