[PATCH] D128095: [clang] Improve diagnostics for expansion length mismatch

Shafik Yaghmour via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 15 14:54:53 PDT 2022


shafik added inline comments.


================
Comment at: clang/lib/Sema/SemaTemplateDeduction.cpp:746
         unsigned Depth, Index;
-        std::tie(Depth, Index) = getDepthAndIndex(Unexpanded[I]);
+        std::tie(Depth, Index) = getDepthAndIndex(U);
         if (Depth == Info.getDeducedDepth())
----------------
Structured bindings maybe?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D128095



More information about the cfe-commits mailing list