[PATCH] D24975: [CUDA] Add #pragma clang force_cuda_host_device_{begin, end} pragmas.

Justin Lebar via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 27 15:00:37 PDT 2016


jlebar updated this revision to Diff 72717.
jlebar marked 2 inline comments as done.
jlebar added a comment.

Address Richard Smith's review comments:

- Change macro format.
- Add tests (these Just Worked).


https://reviews.llvm.org/D24975

Files:
  clang/include/clang/Basic/DiagnosticParseKinds.td
  clang/include/clang/Parse/Parser.h
  clang/include/clang/Sema/Sema.h
  clang/lib/Parse/ParsePragma.cpp
  clang/lib/Sema/SemaCUDA.cpp
  clang/test/Parser/cuda-force-host-device-templates.cu
  clang/test/Parser/cuda-force-host-device.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24975.72717.patch
Type: text/x-patch
Size: 8914 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160927/87a9d73a/attachment.bin>


More information about the cfe-commits mailing list