[all-commits] [llvm/llvm-project] 977d8a: [clang][Sema] Fixed Compound Literal is not Consta...

Vincent via All-commits all-commits at lists.llvm.org
Tue Jun 17 06:21:03 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 977d8a4bcd83797217433709201922b9deb97ae2
      https://github.com/llvm/llvm-project/commit/977d8a4bcd83797217433709201922b9deb97ae2
  Author: Vincent <llvm at viceroygroup.ca>
  Date:   2025-06-17 (Tue, 17 Jun 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Sema/Scope.h
    M clang/lib/Sema/SemaExpr.cpp
    A clang/test/Sema/gh87867.c

  Log Message:
  -----------
  [clang][Sema] Fixed Compound Literal is not Constant Expression (#143852)

Added a check for a compound literal hiding inside a function.

fixes #87867



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