[all-commits] [llvm/llvm-project] 59acdf: fix D78849 for g++ < 7.1

Nick Desaulniers via All-commits all-commits at lists.llvm.org
Mon Apr 27 13:47:26 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 59acdf0aca10b78c5d3885f9721779585593074a
      https://github.com/llvm/llvm-project/commit/59acdf0aca10b78c5d3885f9721779585593074a
  Author: Nick Desaulniers <ndesaulniers at google.com>
  Date:   2020-04-27 (Mon, 27 Apr 2020)

  Changed paths:
    M llvm/lib/CodeGen/MachineVerifier.cpp

  Log Message:
  -----------
  fix D78849 for g++ < 7.1

Summary:
Looks like g++ < 7.1 has a bug resolving calls to member functions without
`this->` in lamdas with `auto` types.  It looks like multiple build bots are
using g++-5.

https://stackoverflow.com/questions/32097759/calling-this-member-function-from-generic-lambda-clang-vs-gcc
https://godbolt.org/z/MiaRt-

Reviewers: MaskRay, efriedma, jyknight, craig.topper, rsmith

Reviewed By: rsmith

Subscribers: hiraditya, llvm-commits, srhines

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D78962




More information about the All-commits mailing list