[PATCH] D157429: [NFC] [Clang] Fix static analyzer concern

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 8 13:05:24 PDT 2023


aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.

LGTM with a small formatting nit.



================
Comment at: clang/lib/Analysis/BodyFarm.cpp:809
     Prop = MD->findPropertyDecl();
-    IVar = findBackingIvar(Prop);
+    IVar = Prop? findBackingIvar(Prop) : nullptr;
   }
----------------
Formatting.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D157429/new/

https://reviews.llvm.org/D157429



More information about the cfe-commits mailing list