================
@@ -224,6 +224,9 @@ void NonConstParameterCheck::markCanNotBeConst(const Expr 
*E,
   } else if (const auto *ILE = dyn_cast<InitListExpr>(E)) {
     for (unsigned I = 0U; I < ILE->getNumInits(); ++I)
       markCanNotBeConst(ILE->getInit(I), true);
+  } else if (const auto *UCE = dyn_cast<CXXUnresolvedConstructExpr>(E)) {
----------------
EugeneZelenko wrote:

```suggestion
  } else if (dyn_cast<CXXUnresolvedConstructExpr>(E)) {
```

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

Reply via email to