[all-commits] [llvm/llvm-project] 7ecd2a: [SelectionDAG] Fix missing lambda capture
Marco Elver via All-commits
all-commits at lists.llvm.org
Thu Mar 2 14:48:39 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7ecd2a23f5f74581cad1a1dc5b65af1d52876ff1
https://github.com/llvm/llvm-project/commit/7ecd2a23f5f74581cad1a1dc5b65af1d52876ff1
Author: Marco Elver <elver at google.com>
Date: 2023-03-02 (Thu, 02 Mar 2023)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Log Message:
-----------
[SelectionDAG] Fix missing lambda capture
Move MaxDepth into the lambda, since it is not needed outside. This
fixes some compilers that complain about missing capture:
error C3493: 'MaxDepth' cannot be implicitly captured because no
default capture mode has been specified
Fixes: f693932fbea7 ("[SelectionDAG] Transitively copy NodeExtraInfo on RAUW")
More information about the All-commits
mailing list