================
@@ -2050,6 +2059,11 @@ bool SubstituteParameterMappings::substitute(
if (!N.hasParameterMapping())
buildParameterMapping(N);
+ // Don't bother into substituting if we have determined the mapping maps to
+ // nothing.
----------------
cor3ntin wrote:
```suggestion
// If the parameter mapping is empty, there is nothing to substitute.
```
https://github.com/llvm/llvm-project/pull/164051
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits