[all-commits] [llvm/llvm-project] 75dece: [clang-tidy] Avoid evaluating value-dependent stat...

Zeyi Xu via All-commits all-commits at lists.llvm.org
Wed Jun 3 02:51:52 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 75dece729ccdbae01e1d09d4adf9604ea1103905
      https://github.com/llvm/llvm-project/commit/75dece729ccdbae01e1d09d4adf9604ea1103905
  Author: Zeyi Xu <mitchell.xu2 at gmail.com>
  Date:   2026-06-03 (Wed, 03 Jun 2026)

  Changed paths:
    M clang-tools-extra/clang-tidy/fuchsia/StaticallyConstructedObjectsCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/fuchsia/statically-constructed-objects.cpp

  Log Message:
  -----------
  [clang-tidy] Avoid evaluating value-dependent static initializers in fuchsia-statically-constructed-objects (#201287)

Static data member initializers in class templates could crash the check
when they used non-type template parameters. This commit skips them
during analysis.

Closes https://github.com/llvm/llvm-project/issues/201110



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