================ @@ -22,7 +22,9 @@ using namespace llvm; namespace { -// Translate single-token string representations to the OpenACC Directive Kind. +// This doesn't completely comprehend 'Compound Constructs' (as it just +// identifies the first token) just the first token of each. So +// this should only be used by `ParseOpenACCDirectiveKind`. OpenACCDirectiveKind GetOpenACCDirectiveKind(StringRef Name) { ---------------- alexey-bataev wrote:
Missed ёрш in the previous reviews, better to name it `getOpenACCDirectiveKind` https://github.com/llvm/llvm-project/pull/72692 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits