[PATCH] D68388: [PR41008][OpenCL] Support restrict keyword in C++ mode
Kévin Petit via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 3 08:22:41 PDT 2019
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
More information about the cfe-commits
mailing list