[PATCH] D66164: [LifetimeAnalysis] Support std::stack::top() and std::optional::value()
Gábor Horváth via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 13 14:12:11 PDT 2019
xazax.hun accepted this revision.
xazax.hun added a comment.
This revision is now accepted and ready to land.
Herald added a subscriber: rnkovacs.
LG! But let's wait for Dmitri :)
Comment at: clang/test/Sema/warn-lifetime-analysis-nocfg.cpp:172
+ T &value();
I actually was a bit lazy when I added these tests. Both `value` and `operator*` is overloaded on `&&`. But if you do not feel like adjusting the tests this is fine, I can do it myself later :)
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the cfe-commits