[all-commits] [llvm/llvm-project] 45e5a3: [NFC][DwarfDebug] Avoid default capturing when usi...
Djordje Todorovic via All-commits
all-commits at lists.llvm.org
Mon May 11 01:03:20 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 45e5a32a8bd36836c26778f71accdbccdc770a42
https://github.com/llvm/llvm-project/commit/45e5a32a8bd36836c26778f71accdbccdc770a42
Author: Djordje Todorovic <djordje.todorovic at syrmia.com>
Date: 2020-05-11 (Mon, 11 May 2020)
Changed paths:
M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Log Message:
-----------
[NFC][DwarfDebug] Avoid default capturing when using lambdas
It is bad practice to capture by default (via [&] in this case) when
using lambdas, so we should avoid that as much as possible.
This patch fixes that in the getForwardingRegsDefinedByMI
from DwarfDebug module.
Differential Revision: https://reviews.llvm.org/D79616
More information about the All-commits
mailing list