forked from OSchip/llvm-project
Fix -Wunused-lambda-capture by removing some unused lambda captures
llvm-svn: 295373
This commit is contained in:
parent
3f6260cab4
commit
fc4857f80b
|
@ -1704,10 +1704,10 @@ void DataFlowGraph::linkBlockRefs(DefStackMap &DefM, NodeAddr<BlockNode*> BA) {
|
||||||
// Push block delimiters.
|
// Push block delimiters.
|
||||||
markBlock(BA.Id, DefM);
|
markBlock(BA.Id, DefM);
|
||||||
|
|
||||||
auto IsClobber = [this] (NodeAddr<RefNode*> RA) -> bool {
|
auto IsClobber = [] (NodeAddr<RefNode*> RA) -> bool {
|
||||||
return IsDef(RA) && (RA.Addr->getFlags() & NodeAttrs::Clobbering);
|
return IsDef(RA) && (RA.Addr->getFlags() & NodeAttrs::Clobbering);
|
||||||
};
|
};
|
||||||
auto IsNoClobber = [this] (NodeAddr<RefNode*> RA) -> bool {
|
auto IsNoClobber = [] (NodeAddr<RefNode*> RA) -> bool {
|
||||||
return IsDef(RA) && !(RA.Addr->getFlags() & NodeAttrs::Clobbering);
|
return IsDef(RA) && !(RA.Addr->getFlags() & NodeAttrs::Clobbering);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue