[all-commits] [llvm/llvm-project] 41e31e: Fix GCC5 build, require explicit this->... in this...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Thu Jan 7 09:49:49 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 41e31eac14c239970a220f81de5fdd3b231b5184
      https://github.com/llvm/llvm-project/commit/41e31eac14c239970a220f81de5fdd3b231b5184
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2021-01-07 (Thu, 07 Jan 2021)

  Changed paths:
    M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp

  Log Message:
  -----------
  Fix GCC5 build, require explicit this->... in this call inside a lambda (NFC)

Error was:

mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp:2247:36: error: cannot call member function 'mlir::LLVM::FastmathFlags mlir::LLVM::FMFAttr::getFlags() const' without object
     return bitEnumContains(getFlags(), flag);
                                    ^




More information about the All-commits mailing list