[clang] [Clang][OpenMP]Default clause variable category (PR #157063)
Shilei Tian via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 5 08:32:09 PDT 2025
================
@@ -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
More information about the cfe-commits
mailing list