[all-commits] [llvm/llvm-project] 36e2b3: [BitcodeReader] Remove two unused variables

Björn Pettersson via All-commits all-commits at lists.llvm.org
Wed Aug 23 05:27:51 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 36e2b37a29ea2dc4cf5098b5539a72a15558b41b
      https://github.com/llvm/llvm-project/commit/36e2b37a29ea2dc4cf5098b5539a72a15558b41b
  Author: Bjorn Pettersson <bjorn.a.pettersson at ericsson.com>
  Date:   2023-08-23 (Wed, 23 Aug 2023)

  Changed paths:
    M llvm/lib/Bitcode/Reader/MetadataLoader.cpp

  Log Message:
  -----------
  [BitcodeReader] Remove two unused variables


  Commit: a23e01ada70ef2e0f12a03ed279f409f093e066e
      https://github.com/llvm/llvm-project/commit/a23e01ada70ef2e0f12a03ed279f409f093e066e
  Author: Bjorn Pettersson <bjorn.a.pettersson at ericsson.com>
  Date:   2023-08-23 (Wed, 23 Aug 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp

  Log Message:
  -----------
  [AMDGPU] Fix -Wenum-compare warnings

Avoiding warnings like this when building with GCC:
  warning: enumeral mismatch in conditional expression:
  'llvm::AMDGPUISD::NodeType' vs 'llvm::ISD::NodeType'
  [-Wenum-compare]


  Commit: f6720947101f2866ca4812056842ada06cf59242
      https://github.com/llvm/llvm-project/commit/f6720947101f2866ca4812056842ada06cf59242
  Author: Bjorn Pettersson <bjorn.a.pettersson at ericsson.com>
  Date:   2023-08-23 (Wed, 23 Aug 2023)

  Changed paths:
    M clang/lib/Sema/SemaDecl.cpp

  Log Message:
  -----------
  [Sema] Fix -Wparentheses warning seen with gcc

This patch simply replace
  assert(X || Y && "...")
by
  assert((X || Y) && "...")
to silence -Wparentheses warnings.


  Commit: 89bf39b068e8bc51f4178d1e794fd78e8e86b508
      https://github.com/llvm/llvm-project/commit/89bf39b068e8bc51f4178d1e794fd78e8e86b508
  Author: Bjorn Pettersson <bjorn.a.pettersson at ericsson.com>
  Date:   2023-08-23 (Wed, 23 Aug 2023)

  Changed paths:
    M clang/lib/CodeGen/CGExprConstant.cpp

  Log Message:
  -----------
  [clang][CGExprConstant] Resolve unused variable 'C' warning


Compare: https://github.com/llvm/llvm-project/compare/b5669d6fa960...89bf39b068e8


More information about the All-commits mailing list