[PATCH] D140104: [clang][dataflow] Remove unused argument in getNullability
Dani Ferreira Franco Moura via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 16 06:22:49 PST 2022
merrymeerkat added inline comments.
================
Comment at: clang/lib/Sema/SemaExpr.cpp:9072
auto GetNullability = [&Ctx](QualType Ty) {
+ Optional<NullabilityKind> Kind = Ty->getNullability();
----------------
barannikov88 wrote:
> This now gives a warning
> `clang/lib/Sema/SemaExpr.cpp:9072:27: warning: lambda capture 'Ctx' is not used [-Wunused-lambda-capture]`
Thank you for pointing this out! This patch should resolve this: https://reviews.llvm.org/D140211
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140104/new/
https://reviews.llvm.org/D140104
More information about the cfe-commits
mailing list