[clang] [Clang] Fix assertion when __block is used on global variables in C mode (PR #194856)
via cfe-commits
cfe-commits at lists.llvm.org
Fri May 8 01:18:35 PDT 2026
TPPPP72 wrote:
I think we should remove `setInvalidDecl` to maintain consistency here.
https://github.com/llvm/llvm-project/blob/8b9cfeac98b99c3edfe0b5f71c8a11044750e50b/clang/lib/Sema/SemaObjC.cpp#L1701-L1705
https://github.com/llvm/llvm-project/blob/8b9cfeac98b99c3edfe0b5f71c8a11044750e50b/clang/lib/Sema/SemaObjC.cpp#L1709-L1712
https://github.com/llvm/llvm-project/pull/194856
More information about the cfe-commits
mailing list