================
@@ -1072,6 +1072,9 @@ TargetInfo::simplifyConstraint(StringRef Constraint,
SmallVectorImpl<ConstraintInfo> *OutCons) const
{
std::string Result;
+ // Stop at '\0' to match the old behavior.
----------------
jmorse wrote:
I'd suggest wording this to avoid the reader having to consider when "old"
might be: something like "Ignore embedded nulls to match prior clang (clang-21
and earlier) behaviours".
https://github.com/llvm/llvm-project/pull/196223
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits