================ @@ -257,6 +264,10 @@ struct OMPInteropInfo final { llvm::SmallVector<Expr *, 4> PreferTypes; }; +unsigned getOpenMPDefaultVariableCategory(StringRef Str, + const LangOptions &LangOpts); +const char *getOpenMPDefaultVariableCategoryName(unsigned VC); ---------------- shiltian wrote:
use the actual type here instead of an `unsigned` such that the cast can be avoided. https://github.com/llvm/llvm-project/pull/157063 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits