Files
clang-p2996/clang/lib/Analysis/ThreadSafetyCommon.cpp
Kazu Hirata 19c0a6b5eb [Analysis] Migrate away from PointerUnion::dyn_cast (NFC) (#122652)
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>

Literal migration would result in dyn_cast_if_present (see the
definition of PointerUnion::dyn_cast), but this patch uses dyn_cast
because we expect Ctx->FunArgs to be nonnull.
2025-01-13 11:38:20 -08:00

36 KiB