[clang] [OpenACC] Add 'clause' parsing infrastructure plus a few clauses (PR #75052)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 18 02:32:40 PST 2023
================
@@ -69,6 +69,29 @@ OpenACCDirectiveKindEx getOpenACCDirectiveKind(Token Tok) {
.Default(OpenACCDirectiveKindEx::Invalid);
}
+// Translate single-token string representations to the OpenCC Clause Kind.
+OpenACCClauseKind getOpenACCClauseKind(Token Tok) {
----------------
cor3ntin wrote:
I missed that!
https://github.com/llvm/llvm-project/pull/75052
More information about the cfe-commits
mailing list