[all-commits] [llvm/llvm-project] abe3b9: [CIR] Fix warnings, again! (#135284)

Andy Kaylor via All-commits all-commits at lists.llvm.org
Fri Apr 11 10:57:29 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: abe3b90b3fa49829a165f2174191c33542597052
      https://github.com/llvm/llvm-project/commit/abe3b90b3fa49829a165f2174191c33542597052
  Author: Andy Kaylor <akaylor at nvidia.com>
  Date:   2025-04-11 (Fri, 11 Apr 2025)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenFunction.h
    M clang/lib/CIR/CodeGen/CIRGenModule.cpp

  Log Message:
  -----------
  [CIR] Fix warnings, again! (#135284)

The calleeDecl var will be used in the near future, so I left it. At
least for clang, the [[maybe_unused]] attribute takes care of the
warnings related to that variable. The other warning was a simple lack
of return after errorNYI.



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