================
@@ -1072,6 +1072,9 @@ TargetInfo::simplifyConstraint(StringRef Constraint,
                                SmallVectorImpl<ConstraintInfo> *OutCons) const 
{
   std::string Result;
 
+  // Stop at '\0' to match the old behavior.
----------------
el-ev wrote:

```suggestion
  // Ignore embedded nulls to match prior (clang-21 and earlier) behavior
```

https://github.com/llvm/llvm-project/pull/196223
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to