[clang] [Clang][NFC] Fix a warning in TransformNestedRequirement (PR #164148)

Shafik Yaghmour via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 19 20:03:48 PDT 2025


================
@@ -2864,9 +2864,9 @@ TemplateInstantiator::TransformNestedRequirement(
         TemplateArgs, Constraint->getSourceRange(), Satisfaction,
         /*TopLevelConceptId=*/nullptr, &NewConstraint);
 
-    assert(!Success || !Trap.hasErrorOccurred() &&
-                           "Substitution failures must be handled "
-                           "by CheckConstraintSatisfaction.");
+    assert((!Success || !Trap.hasErrorOccurred()) &&
----------------
shafik wrote:

That is really cursed syntax highlighting there. 

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


More information about the cfe-commits mailing list