bader closed this revision.
bader added a comment.
Committed: https://reviews.llvm.org/rL354773
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57768/new/
https://reviews.llvm.org/D57768
___
cfe-commits
bader updated this revision to Diff 187785.
bader added a comment.
Add check that SYCL specific macro is not enabled by default.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57768/new/
https://reviews.llvm.org/D57768
Files:
clang/include/clang/
ABataev accepted this revision.
ABataev added a comment.
This revision is now accepted and ready to land.
LG
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57768/new/
https://reviews.llvm.org/D57768
___
ABataev added inline comments.
Comment at: clang/test/Preprocessor/sycl-macro.cpp:1
+// RUN: %clang_cc1 %s -fsycl-is-device -E -dM | FileCheck %s
+
Add a test that without this option `__SYCL_DEVICE_ONLY__` is not defined
Repository:
rG LLVM Github Monorepo