[PATCH] D18328: [CUDA] Add option to mark most functions inside <complex> as host+device.

Artem Belevich via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 21 13:55:39 PDT 2016

tra accepted this revision.
tra added a comment.
This revision is now accepted and ready to land.

One minor question, LGTM otherwise.

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 ?


More information about the cfe-commits mailing list