[PATCH] D131944: [analyzer] Remove pattern matching of lambda capture initializers
Balázs Benics via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 14 08:06:45 PDT 2022
steakhal added inline comments.
================
Comment at: clang/test/Analysis/lambdas.cpp:226
+ [uniquePtr = MakeUniquePtr()] {}();
+ clang_analyzer_warnIfReached(); // expected-warning{{TRUE}}
+}
----------------
It should have said `REACHABLE`.
How does this pass? @isuckatcs
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131944/new/
https://reviews.llvm.org/D131944
More information about the cfe-commits
mailing list