[all-commits] [llvm/llvm-project] 92ef8e: [clang-tidy] Teach `cppcoreguidelines-interfaces-g...

Victor Chernyakin via All-commits all-commits at lists.llvm.org
Mon Jul 14 14:10:31 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 92ef8e3419ee316089501a79446151c895902681
      https://github.com/llvm/llvm-project/commit/92ef8e3419ee316089501a79446151c895902681
  Author: Victor Chernyakin <chernyakin.victor.j at outlook.com>
  Date:   2025-07-15 (Tue, 15 Jul 2025)

  Changed paths:
    M clang-tools-extra/clang-tidy/cppcoreguidelines/InterfacesGlobalInitCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/interfaces-global-init.cpp

  Log Message:
  -----------
  [clang-tidy] Teach `cppcoreguidelines-interfaces-global-init` about `constinit` (#148334)

This check already understands how `constexpr` makes initialization
order problems impossible, and C++20's `constinit` provides the exact
same guarantees.



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