Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[OpenCL] Defer addr space deduction for dependent type.
This patch removes deduction of address spaces in parsing for types that depend on template parameter even if an address space is already known. Deducing it early interferes with template instantiation/specialization logic that uses source address space where address space is not present. Address space deduction for templates is therefore fully moved to the template instantiation/specialization phase. Patch by Ole Strohm (olestrohm)! Tags: #clang Differential Revision: https://reviews.llvm.org/D82781
- Loading branch information
Anastasia Stulova
committed
Jul 13, 2020
1 parent
3bffe60
commit 6050c15
Showing
3 changed files
with
21 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters