[all-commits] [llvm/llvm-project] 417a06: [clang][CGBlocks] Remove unused variable "refType"...

mikaelholmen via All-commits all-commits at lists.llvm.org
Thu Apr 4 06:08:29 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 417a068b63c01d79511fe3732dd52377b05d06fc
      https://github.com/llvm/llvm-project/commit/417a068b63c01d79511fe3732dd52377b05d06fc
  Author: Mikael Holmen <mikael.holmen at ericsson.com>
  Date:   2024-04-04 (Thu, 04 Apr 2024)

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

  Log Message:
  -----------
  [clang][CGBlocks] Remove unused variable "refType" [NFC]

Without the change gcc warned like
 ../../clang/lib/CodeGen/CGBlocks.cpp:965:21: warning: unused variable 'refType' [-Wunused-variable]
   965 |     } else if (auto refType = type->getAs<ReferenceType>()) {
       |                     ^~~~~~~



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list