[clang] [OpenACC] Add 'clause' parsing infrastructure plus a few clauses (PR #75052)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 13 01:32:56 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:
Should this be static (ditto for the rest of the functions in the files)
https://github.com/llvm/llvm-project/pull/75052
More information about the cfe-commits
mailing list