[all-commits] [llvm/llvm-project] bb78a0: [clang] Fix the local parameter of void type insid...
c8ef via All-commits
all-commits at lists.llvm.org
Tue Oct 1 06:39:32 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bb78a0b33496fb0140cec1a92a689505f53253b7
https://github.com/llvm/llvm-project/commit/bb78a0b33496fb0140cec1a92a689505f53253b7
Author: c8ef <c8ef at outlook.com>
Date: 2024-10-01 (Tue, 01 Oct 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaExprCXX.cpp
M clang/test/CXX/expr/expr.prim/expr.prim.req/requires-expr.cpp
Log Message:
-----------
[clang] Fix the local parameter of void type inside the `Requires` expression. (#109831)
Fixes #109538.
In this patch, we introduce diagnostic for required expression
parameters in the same way as function parameters, fix the issue of
handling void type parameters, and align the behavior with GCC and other
compilers.
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