aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-01-19 10:56:57 -0800
committerGitHub <noreply@github.com>2025-01-19 10:56:57 -0800
commitf13850a92c13d41ee377b8ebb2c226895fddbb57 (patch)
tree7534953f6d48260e2b3ad6a685fdfd7a516accae /llvm/lib/Support/VirtualFileSystem.cpp
parentf7ebb138c298fdf4a972083f3d794fab1e1d83ef (diff)
downloadllvm-f13850a92c13d41ee377b8ebb2c226895fddbb57.zip
llvm-f13850a92c13d41ee377b8ebb2c226895fddbb57.tar.gz
llvm-f13850a92c13d41ee377b8ebb2c226895fddbb57.tar.bz2
[AST] Migrate away from PointerUnion::dyn_cast (NFC) (#123499)
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 Init to be nonnull. Note that hasInit returns true only if Init is nonnull among other conditions.
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions