[clang] [Clang] Reapply CWG2369 "Ordering between constraints and substitution" (PR #122423)
via cfe-commits
cfe-commits at lists.llvm.org
Mon May 26 01:39:05 PDT 2025
================
@@ -13372,6 +13376,17 @@ class Sema final : public SemaBase {
bool SkipForSpecialization = false,
bool ForDefaultArgumentSubstitution = false);
+ /// Apart from storing the result to \p Result, this behaves the same as
+ /// another overload.
----------------
cor3ntin wrote:
It would be cleaner to put the documentation on this overload, declare it first, and then say that the other overload creates a new MultiLevelTemplateArgumentList and call getTemplateInstantiationArgs with it as the first param)
https://github.com/llvm/llvm-project/pull/122423
More information about the cfe-commits
mailing list