[all-commits] [llvm/llvm-project] 21ce61: [ADT] Use "static inline" to initialize EmptyDiver...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Wed Sep 24 08:45:00 PDT 2025


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

  Changed paths:
    M llvm/include/llvm/ADT/GenericUniformityImpl.h

  Log Message:
  -----------
  [ADT] Use "static inline" to initialize EmptyDivergenceDesc; (NFC) (#160445)

In C++17, we can initialize a static member variable with "static
inline" as part of the class definition.  With this, we can eliminate
the out-of-line static initializer involving boilerplate template
code.



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