t-8ch added a comment.




================
Comment at: clang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp:537
+                              CallExpr::const_arg_range Args) {
+    for (const auto It : llvm::zip(FD->parameters(), Args)) {
+      if (!std::get<0>(It)->getType()->isReferenceType())
----------------
steakhal wrote:
> I think as we are on C++17 now, we could use structured bindings. WDYT?
Sounds good, will update.
Note that "now" means since three days ago :-)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131067/new/

https://reviews.llvm.org/D131067

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to