[all-commits] [llvm/llvm-project] 8988fb: [clang][ObjC][CodeComplete] Fix crash on C-Style c...
edisongz via All-commits
all-commits at lists.llvm.org
Sun Feb 15 15:30:25 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8988fb751669a7e47deb4aa3f3f5fd03ccc95831
https://github.com/llvm/llvm-project/commit/8988fb751669a7e47deb4aa3f3f5fd03ccc95831
Author: edisongz <edisongz123 at gmail.com>
Date: 2026-02-15 (Sun, 15 Feb 2026)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaCodeComplete.cpp
A clang/test/CodeCompletion/objc-cast-parenthesized-expr.m
Log Message:
-----------
[clang][ObjC][CodeComplete] Fix crash on C-Style cast with parenthesized operand in ObjC++ (#180343)
In ObjC++ mode, code-completion after a C-style cast like
`(int*)(0x200)` crashed because the inner parenthesized expression was
parsed as a `ParenListExpr` (null type) due to `AllowTypes` propagation.
Fixes https://github.com/llvm/llvm-project/issues/180125
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