[llvm-branch-commits] [clang] [llvm] [OpenMP][clang] 6.0: num_threads strict (part 3: codegen) (PR #146405)
Alexey Bataev via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Jul 31 06:55:32 PDT 2025
================
@@ -1874,6 +1874,10 @@ class OMPMessageClause final : public OMPClause {
// Expression of the 'message' clause.
Stmt *MessageString = nullptr;
+ // The message as a StringLiteral in case it is as string literal. This might
+ // be needed during compile time.
+ StringLiteral *MessageStringLiteral = nullptr;
+
----------------
alexey-bataev wrote:
You do not need string literal for this, you need a string, evaluatable at compile time using something like `Expr->tryEvaluateString()`
https://github.com/llvm/llvm-project/pull/146405
More information about the llvm-branch-commits
mailing list