[all-commits] [llvm/llvm-project] 88a51d: [Clang][NFC] Code cleanup in CGBuiltin.cpp (#132060)

Rahul Joshi via All-commits all-commits at lists.llvm.org
Thu Mar 20 15:46:51 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 88a51d23927aa36694166fe5edd7831ab90e5a75
      https://github.com/llvm/llvm-project/commit/88a51d23927aa36694166fe5edd7831ab90e5a75
  Author: Rahul Joshi <rjoshi at nvidia.com>
  Date:   2025-03-20 (Thu, 20 Mar 2025)

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

  Log Message:
  -----------
  [Clang][NFC] Code cleanup in CGBuiltin.cpp (#132060)

- Use `Intrinsic::` directly instead of `llvm::Intrinsic::`.
- Eliminate redundant `nullptr` for some `CreateIntrinsic` calls.
- Eliminate redundant `ArrayRef` casts.
- Use C++17 structured binding instead of `std::tie`.



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