[PATCH] D140104: [clang][dataflow] Remove unused argument in getNullability

Sergei Barannikov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 16 05:43:04 PST 2022


barannikov88 added inline comments.


================
Comment at: clang/lib/Sema/SemaExpr.cpp:9072
 
   auto GetNullability = [&Ctx](QualType Ty) {
+    Optional<NullabilityKind> Kind = Ty->getNullability();
----------------
This now gives a warning
`clang/lib/Sema/SemaExpr.cpp:9072:27: warning: lambda capture 'Ctx' is not used [-Wunused-lambda-capture]`


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