[llvm-branch-commits] [clang] [clang-tools-extra] [clang] NFCI: use TemplateArgumentLoc for type-param DefaultArgument (PR #92854)

Vlad Serebrennikov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon May 20 23:22:55 PDT 2024


================
@@ -10082,7 +10082,9 @@ class Sema final : public SemaBase {
 
   bool SubstTemplateArgument(const TemplateArgumentLoc &Input,
                              const MultiLevelTemplateArgumentList &TemplateArgs,
-                             TemplateArgumentLoc &Output);
+                             TemplateArgumentLoc &Output,
+                             SourceLocation Loc = {},
+                             const DeclarationName &Entity = {});
----------------
Endilll wrote:

Changes to both declaration and implementation of `SubstTemplateArgument` doesn't seem related.

https://github.com/llvm/llvm-project/pull/92854


More information about the llvm-branch-commits mailing list