[PATCH] D46022: [OpenCL] Restrict various keywords in OpenCL C++ mode

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 24 10:23:36 PDT 2018


rjmccall added a comment.

I'm not sure that doing this in the lexer is appropriate; you should just diagnose the unsupported feature in Sema, or at best the parser.


Repository:
  rC Clang

https://reviews.llvm.org/D46022





More information about the cfe-commits mailing list