[PATCH] D134941: [analyzer][NFC] Add tests for D132236

Tomasz KamiƄski via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 3 05:32:39 PDT 2022


tomasz-kaminski-sonarsource marked 2 inline comments as done.
tomasz-kaminski-sonarsource added inline comments.


================
Comment at: clang/test/Analysis/symbol-reaper-lambda.cpp:14
+    escape(param, local_pre_lambda);
+    return ref_captured; // no-warning: The value is not garbage.
+  };
----------------
martong wrote:
> Did D132236 produce an FP warning for this?
Yes, it created false-positive for `ref_capture` load producing initialized value.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134941



More information about the cfe-commits mailing list