[all-commits] [llvm/llvm-project] ae7895: [Support] Rename CTLog2 to ConstantLog2 in MathExt...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Thu Sep 11 07:54:50 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ae789571124bbd4205d2339de306b9b455bb0038
      https://github.com/llvm/llvm-project/commit/ae789571124bbd4205d2339de306b9b455bb0038
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-09-11 (Thu, 11 Sep 2025)

  Changed paths:
    M clang/include/clang/AST/Expr.h
    M lld/MachO/Target.h
    M llvm/include/llvm/Support/Alignment.h
    M llvm/include/llvm/Support/MathExtras.h
    M llvm/include/llvm/Support/PointerLikeTypeTraits.h
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    M llvm/unittests/Support/MathExtrasTest.cpp

  Log Message:
  -----------
  [Support] Rename CTLog2 to ConstantLog2 in MathExtras.h (#158006)

This patch renames CTLog2 to ConstantLog2 for readability.

This patch provides a forwarder under LLVM_DEPRECATED because CTLog2
is used downstream.



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