[all-commits] [llvm/llvm-project] 81a680: [clang] Migrate away from PointerUnion::dyn_cast (...
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Tue Sep 22 11:08:55 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 81a680b6c7aec6fc493fb978ad1902b648781170
https://github.com/llvm/llvm-project/commit/81a680b6c7aec6fc493fb978ad1902b648781170
Author: Kazu Hirata <kazu at google.com>
Date: 2026-09-22 (Tue, 22 Sep 2026)
Changed paths:
M clang/include/clang/AST/DeclFriend.h
M clang/lib/Sema/SemaConcept.cpp
M clang/lib/Sema/SemaOverload.cpp
Log Message:
-----------
[clang] Migrate away from PointerUnion::dyn_cast (NFC) (#225319)
Note that PointerUnion::dyn_cast has been soft deprecated in
PointerUnion.h:
// FIXME: Replace the uses of is(), get() and dyn_cast() with
// isa<T>, cast<T> and the llvm::dyn_cast<T>
We must use dyn_cast_if_present here because the operands can be null,
which I have verified with assert(!isNull()) on check-clang.
Assisted-by: Antigravity
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