[all-commits] [llvm/llvm-project] 37185c: [Object] Make IsLittleEndian check constexpr to si...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Jun 18 09:36:16 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 37185ceac9bccaeec7bfe8b42c00ad119ab70955
      https://github.com/llvm/llvm-project/commit/37185ceac9bccaeec7bfe8b42c00ad119ab70955
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-06-18 (Sat, 18 Jun 2022)

  Changed paths:
    M llvm/include/llvm/Object/ELFObjectFile.h

  Log Message:
  -----------
  [Object] Make IsLittleEndian check constexpr to silence static analyzer dead code warnings.

The "ELFT::TargetEndianness == support::little" check is known at compile time




More information about the All-commits mailing list