[PATCH] D78962: fix D78849 for g++ < 7.1

Nick Desaulniers via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 27 14:02:58 PDT 2020


This revision was automatically updated to reflect the committed changes.
nickdesaulniers marked an inline comment as done.
Closed by commit rG59acdf0aca10: fix D78849 for g++ < 7.1 (authored by nickdesaulniers).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D78962

Files:
  llvm/lib/CodeGen/MachineVerifier.cpp


Index: llvm/lib/CodeGen/MachineVerifier.cpp
===================================================================
--- llvm/lib/CodeGen/MachineVerifier.cpp
+++ llvm/lib/CodeGen/MachineVerifier.cpp
@@ -168,14 +168,14 @@
 
       // Same for a full set.
       bool addRequired(const RegSet &RS) {
-        return llvm::any_of(RS,
-                            [this](unsigned Reg) { return addRequired(Reg); });
+        return llvm::any_of(
+            RS, [this](unsigned Reg) { return this->addRequired(Reg); });
       }
 
       // Same for a full map.
       bool addRequired(const RegMap &RM) {
         return llvm::any_of(
-            RM, [this](const auto &P) { return addRequired(P.first); });
+            RM, [this](const auto &P) { return this->addRequired(P.first); });
       }
 
       // Live-out registers are either in regsLiveOut or vregsPassed.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78962.260454.patch
Type: text/x-patch
Size: 864 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200427/d7d5b1a2/attachment.bin>


More information about the llvm-commits mailing list