[all-commits] [llvm/llvm-project] c9e854: [clang] Fix C23 constexpr crashes (#112708)

Mariya Podchishchaeva via All-commits all-commits at lists.llvm.org
Fri Nov 15 00:26:33 PST 2024


  Branch: refs/heads/release/19.x
  Home:   https://github.com/llvm/llvm-project
  Commit: c9e8540d6c87ecd5a5057a9b0fe47d63affe3062
      https://github.com/llvm/llvm-project/commit/c9e8540d6c87ecd5a5057a9b0fe47d63affe3062
  Author: Mariya Podchishchaeva <mariya.podchishchaeva at intel.com>
  Date:   2024-11-15 (Fri, 15 Nov 2024)

  Changed paths:
    M clang/lib/AST/Decl.cpp
    M clang/test/Sema/constexpr.c

  Log Message:
  -----------
  [clang] Fix C23 constexpr crashes (#112708)

Before using a constexpr variable that is not properly initialized check
that it is valid.

Fixes https://github.com/llvm/llvm-project/issues/109095
Fixes https://github.com/llvm/llvm-project/issues/112516



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