[all-commits] [llvm/llvm-project] 470005: [llvm-remarkutil] Fix building with Xcode 12

Martin Storsjö via All-commits all-commits at lists.llvm.org
Fri Oct 13 00:30:13 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 47000586caca4424e88372d8ab4f8b2c0178ee4b
      https://github.com/llvm/llvm-project/commit/47000586caca4424e88372d8ab4f8b2c0178ee4b
  Author: Martin Storsjö <martin at martin.st>
  Date:   2023-10-13 (Fri, 13 Oct 2023)

  Changed paths:
    M llvm/tools/llvm-remarkutil/RemarkCounter.h

  Log Message:
  -----------
  [llvm-remarkutil] Fix building with Xcode 12

This fixes erorrs like these:

llvm-project/llvm/tools/llvm-remarkutil/RemarkCounter.h:90:14: error: call to deleted constructor of 'llvm::Error'
      return E;
             ^
llvm-project/llvm/include/llvm/Support/Error.h:189:3: note: 'Error' has been explicitly marked deleted here
  Error(const Error &Other) = delete;
  ^
llvm-project/llvm/include/llvm/Support/Error.h:496:18: note: passing argument to parameter 'Err' here
  Expected(Error Err)
                 ^




More information about the All-commits mailing list