[all-commits] [llvm/llvm-project] 06b145: [HLSL] Update type for `out` arguments only for de...
Helena Kotas via All-commits
all-commits at lists.llvm.org
Thu Oct 16 20:32:03 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 06b14558ad8f572c95afb5860361c981978a8e8b
https://github.com/llvm/llvm-project/commit/06b14558ad8f572c95afb5860361c981978a8e8b
Author: Helena Kotas <hekotas at microsoft.com>
Date: 2025-10-16 (Thu, 16 Oct 2025)
Changed paths:
M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
M clang/test/SemaHLSL/Language/TemplateOutArg.hlsl
Log Message:
-----------
[HLSL] Update type for `out` arguments only for dependent params types (#163832)
When a template function with `out` arguments is instantiated, only the arguments with dependent types need to have their `out` type updated to a restricted reference. Non-dependent argument types have already been converted and the template instantiation should not change that.
Fixes #163648
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list