[clang] [NFC][Clang] Use `isa_and_nonnull` instead of `VD && isa(VD)` (PR #93207)

2024-05-23 Thread via cfe-commits
https://github.com/yronglin closed https://github.com/llvm/llvm-project/pull/93207 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [NFC][Clang] Use `isa_and_nonnull` instead of `VD && isa(VD)` (PR #93207)

2024-05-23 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen @llvm/pr-subscribers-clang Author: None (yronglin) Changes This issue was found in https://github.com/llvm/llvm-project/pull/86960. But I'd like to avoid mixing together a bunch of cleanups with actual changes. --- Full diff:

[clang] [NFC][Clang] Use `isa_and_nonnull` instead of `VD && isa(VD)` (PR #93207)

2024-05-23 Thread via cfe-commits
https://github.com/yronglin created https://github.com/llvm/llvm-project/pull/93207 This issue was found in https://github.com/llvm/llvm-project/pull/86960. But I'd like to avoid mixing together a bunch of cleanups with actual changes. >From 6aa4cc4c1fc3309320d949a8c56a662f812e7529 Mon Sep 17