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

Mariya Podchishchaeva via All-commits all-commits at lists.llvm.org
Fri Oct 18 01:18:56 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: abfba7d2e6a3cb0f1d0c976898447957dbbca6e0
      https://github.com/llvm/llvm-project/commit/abfba7d2e6a3cb0f1d0c976898447957dbbca6e0
  Author: Mariya Podchishchaeva <mariya.podchishchaeva at intel.com>
  Date:   2024-10-18 (Fri, 18 Oct 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