[PATCH] D18328: [CUDA] Add option to mark most functions inside <complex> as host+device.
Justin Lebar via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 21 14:23:50 PDT 2016
jlebar added inline comments.
Comment at: lib/Sema/SemaCUDA.cpp:474
@@ +473,3 @@
+ SourceLocation Loc = FD.getLocation();
+ if (!SM.isInSystemHeader(Loc))
+ return false;
> Can C++ library headers ever be non-system? I.e. can someone use libc++ via -I ?
Good question, I have no idea if that's supposed to work. Reid, do you know?
More information about the cfe-commits