[all-commits] [llvm/llvm-project] 334c9f: [CodeGenTypes] Remove redundant declarations (NFC)...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Sat Nov 1 09:25:41 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 334c9fd8c23c90406dae3a6f08a5ffc5bc830c11
      https://github.com/llvm/llvm-project/commit/334c9fd8c23c90406dae3a6f08a5ffc5bc830c11
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-11-01 (Sat, 01 Nov 2025)

  Changed paths:
    M llvm/include/llvm/CodeGenTypes/LowLevelType.h
    M llvm/lib/CodeGenTypes/LowLevelType.cpp

  Log Message:
  -----------
  [CodeGenTypes] Remove redundant declarations (NFC) (#165972)

In C++17, static constexpr members are implicitly inline, so they no
longer require an out-of-line definition.

This patch also removes redundant "const" from the in-class definitions.

Identified with readability-redundant-declaration.



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