[all-commits] [llvm/llvm-project] 28e8ad: [clang] Fix build after 537344fc

Jan Svoboda via All-commits all-commits at lists.llvm.org
Fri Oct 6 15:08:47 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 28e8ade041d04ba1847d7b05f56b0b2632471169
      https://github.com/llvm/llvm-project/commit/28e8ade041d04ba1847d7b05f56b0b2632471169
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M clang/lib/Serialization/ASTReader.cpp

  Log Message:
  -----------
  [clang] Fix build after 537344fc

This fixes the following build failure on lldb-x86_64-debian:

/llvm-project/clang/lib/Serialization/ASTReader.cpp:1453:12: error: call to deleted constructor of 'llvm::Error'
    return Err;
           ^~~
/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