[all-commits] [llvm/llvm-project] 316128: [clang] fix crash with c-style casts involving dep...
Matheus Izvekov via All-commits
all-commits at lists.llvm.org
Tue Apr 28 11:21:06 PDT 2026
Branch: refs/heads/users/mizvekov/GH194524
Home: https://github.com/llvm/llvm-project
Commit: 316128a746bce07e1540d8140357ccdf6dedb4f3
https://github.com/llvm/llvm-project/commit/316128a746bce07e1540d8140357ccdf6dedb4f3
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2026-04-28 (Tue, 28 Apr 2026)
Changed paths:
M clang/lib/AST/ASTContext.cpp
M clang/test/SemaCXX/member-pointer.cpp
Log Message:
-----------
[clang] fix crash with c-style casts involving dependent member-pointer types
A dependent member-pointer type doesn't necessarily have a class declaration.
This simplifies the check performed in a helper for diagnosing a cast which removes qualifiers,
so it doesn't rely on this assumption.
Fixes #194524
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