diff options
| author | Sven van Haastregt <sven.vanhaastregt@arm.com> | 2021-02-02 11:15:29 +0000 |
|---|---|---|
| committer | Sven van Haastregt <sven.vanhaastregt@arm.com> | 2021-02-02 11:15:29 +0000 |
| commit | dc00c96b2d1bcae56ef598b614ba65a1cc26c4de (patch) | |
| tree | 80f698eaeab5f72b6039485722e9895ce7938455 /lldb/test/API/python_api | |
| parent | 48230355e930c592ec105ed71963459671c54a42 (diff) | |
| download | llvm-dc00c96b2d1bcae56ef598b614ba65a1cc26c4de.zip llvm-dc00c96b2d1bcae56ef598b614ba65a1cc26c4de.tar.gz llvm-dc00c96b2d1bcae56ef598b614ba65a1cc26c4de.tar.bz2 | |
[OpenCL] Change extension handling for -fdeclare-opencl-builtins
Until now, the `-fdeclare-opencl-builtins` option behaved differently
compared to inclusion of `opencl-c.h`: builtins that are part of an
extension were only available if the extension was enabled using the
corresponding pragma.
Builtins that belong to an extension are guarded using a preprocessor
macro (that is named after the extension) in `opencl-c.h`. Align the
behaviour of `-fdeclare-opencl-builtins` with this.
Co-authored-by: Anastasia Stulova
Differential Revision: https://reviews.llvm.org/D95616
Diffstat (limited to 'lldb/test/API/python_api')
0 files changed, 0 insertions, 0 deletions
