[all-commits] [llvm/llvm-project] ef6df9: [Clang] Fix assertion when __block is used on glob...
TPPPP via All-commits
all-commits at lists.llvm.org
Tue May 12 06:59:54 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ef6df9dcea99d7dad003539c82264cf8777374e7
https://github.com/llvm/llvm-project/commit/ef6df9dcea99d7dad003539c82264cf8777374e7
Author: TPPPP <TPPPP72 at outlook.com>
Date: 2026-05-12 (Tue, 12 May 2026)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaObjC.cpp
A clang/test/Sema/block-on-objc-ivars.m
A clang/test/Sema/gh183974.c
Log Message:
-----------
[Clang] Fix assertion when __block is used on global variables in C mode (#194856)
This is a reland PR, related to #183988
I added an extra check in handleBlocksAttr to ensure that illegal Decl
values are not passed to downstream functions.
And remove unnecessary check in `CheckCompleteVariableDeclaration`.
Also added a extra regression test.
Fixes #183974
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