[clang] [clang] Stop simplifyConstraint at embedded NUL (PR #196223)

Iris Shi via cfe-commits cfe-commits at lists.llvm.org
Thu May 7 01:43:09 PDT 2026


================
@@ -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:

Updated, thanks.

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


More information about the cfe-commits mailing list