[PATCH] D130506: [Support] Add llvm::compression::{getReasonIfUnsupported,compress,decompress}

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 7 23:57:51 PDT 2022


mstorsjo added a comment.

This broke compilation with GCC:

  In file included from ../include/llvm/MC/MCTargetOptions.h:13,
                   from ../include/llvm/MC/MCAsmInfo.h:20,
                   from ../lib/MC/MCAsmStreamer.cpp:15:
  ../include/llvm/Support/Compression.h:100:10: error: declaration of ‘llvm::compression::Format llvm::compression::Params::Format’ changes meaning of ‘Format’ [-fpermissive]
    100 |   Format Format;
        |          ^~~~~~
  ../include/llvm/Support/Compression.h:78:12: note: ‘Format’ declared here as ‘enum class llvm::compression::Format’
     78 | enum class Format {
        |            ^~~~~~


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130506



More information about the llvm-commits mailing list