[clang] [clang][bytecode] Use in `Expr::tryEvaluateString` (PR #160118)

Shafik Yaghmour via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 24 13:54:09 PDT 2025


Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/160118 at github.com>


================
@@ -45,3 +48,10 @@ void f2() {
 void test() {
   f<constCat3, constMsg3>(nullptr);
 }
+
+/// Arguments must be null terminated.
+constexpr char K[] = {'a', 'b'};
----------------
shafik wrote:

I think that is ok, we are just making we test both the happy and unhappy path.

https://github.com/llvm/llvm-project/pull/160118


More information about the cfe-commits mailing list