[clang] [clang][Sema][ThreadSafety] Instantiate template attributes naming a pointee's parameter (PR #243191)
Aaron Puchert via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 29 16:25:58 PST 2026
================
@@ -904,6 +904,37 @@ static void instantiateDependentOpenACCRoutineDeclAttr(
Sema &S, const MultiLevelTemplateArgumentList &TemplateArgs,
const OpenACCRoutineDeclAttr *OldAttr, const Decl *Old, Decl *New);
+void Sema::enterPrototypeParamScope(
+ const Decl *Tmpl, const MultiLevelTemplateArgumentList &TemplateArgs,
+ std::optional<LocalInstantiationScope> &Scope) {
----------------
aaronpuchert wrote:
What's the reason for not simply returning the scope? Are you following an existing pattern? Though I presume that predates guaranteed copy elision.
https://github.com/llvm/llvm-project/pull/243191
More information about the cfe-commits
mailing list