summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJustin Lebar <jlebar@google.com>2016-10-08 22:15:58 +0000
committerJustin Lebar <jlebar@google.com>2016-10-08 22:15:58 +0000
commit67a78a6cc021344d295e4f42603bdef601502e14 (patch)
tree7e67b2fd6802b872e448914ecdeac00042f41d45 /clang/lib/Frontend/CompilerInvocation.cpp
parent9adc7c8b4a624a9b5424ade22ccd85544238e503 (diff)
downloadbcm5719-llvm-67a78a6cc021344d295e4f42603bdef601502e14.tar.gz
bcm5719-llvm-67a78a6cc021344d295e4f42603bdef601502e14.zip
[CUDA] Add #pragma clang force_cuda_host_device_{begin,end} pragmas.
Summary: These cause us to consider all functions in-between to be __host__ __device__. You can nest these pragmas; you just can't have more 'end's than 'begin's. Reviewers: rsmith Subscribers: tra, jhen, cfe-commits Differential Revision: https://reviews.llvm.org/D24975 llvm-svn: 283677
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud