rsmith accepted this revision. rsmith added a comment. This revision is now accepted and ready to land.
Please add a test to test/PCH for the serialization code. Otherwise, LGTM. ================ Comment at: clang/include/clang/Basic/DiagnosticParseKinds.td:1032 + "force_cuda_host_device end pragma without matching " + "force_cuda_host_device begin.">; } // end of Parse Issue category. ---------------- Diagnostics should not end with a period. =) ================ Comment at: clang/include/clang/Basic/DiagnosticSemaKinds.td:6701-6702 "conflicting __device__ function declared here">; +def err_pragma_unmatched_force_cuda_host_device : Error< + "%0 unmatched force_cuda_host_device begin pragmas">; def err_dynamic_var_init : Error< ---------------- This appears to be unused. https://reviews.llvm.org/D24975 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits