[all-commits] [llvm/llvm-project] a5a2f0: [C++4OpenCL] Introduces __remove_address_space uti...
Justas Janickas via All-commits
all-commits at lists.llvm.org
Fri Aug 6 02:41:40 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a5a2f05dcc803e79a797fb82dc0932a1a00ac46f
https://github.com/llvm/llvm-project/commit/a5a2f05dcc803e79a797fb82dc0932a1a00ac46f
Author: Justas Janickas <Justas.Janickas at arm.com>
Date: 2021-08-06 (Fri, 06 Aug 2021)
Changed paths:
M clang/docs/LanguageExtensions.rst
M clang/lib/Headers/opencl-c-base.h
A clang/test/CodeGenOpenCLCXX/remove-address-space.clcpp
Log Message:
-----------
[C++4OpenCL] Introduces __remove_address_space utility
This change provides a way to conveniently declare types that have
address space qualifiers removed.
Since OpenCL adds address spaces implicitly even when they are not
specified in source, it is useful to allow deriving address space
unqualified types.
Fixes llvm.org/PR45326
Differential Revision: https://reviews.llvm.org/D106785
More information about the All-commits
mailing list