kpet added a comment.

There doesn't seem to be a test for this (enabling `restrict` in C++ doesn't 
make any existing test fail). I couldn't find any test checking that OpenCL or 
C++/OpenCL keywords generally aren't enabled in C or C++.  Doing this 
generically would essentially equate to writing unit tests for 
`getKeywordStatus`.

EDIT: I have verified that `restrict` is indeed rejected in C++.


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68388/new/

https://reviews.llvm.org/D68388



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to