There is already a flag for this, `-fcuda-is-device`. We should make that flag a `LangOption` and use it for this check.
http://reviews.llvm.org/D6457 _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
