[PATCH] Proposal on how to fix temporary dtors.

Manuel Klimek klimek at google.com
Mon May 26 13:02:56 PDT 2014


Short update:
Running this over a large codebase looks really promising now - ~1%
reduction in warnings vs. 3% increase with the previous version of the
patch.


On Mon, May 26, 2014 at 8:12 PM, Manuel Klimek <klimek at google.com> wrote:

> Remove dead variable in non-debug mode.
>
> http://reviews.llvm.org/D3627
>
> Files:
>   include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h
>   include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
>   include/clang/StaticAnalyzer/Core/PathSensitive/SubEngine.h
>   lib/Analysis/CFG.cpp
>   lib/StaticAnalyzer/Core/CoreEngine.cpp
>   lib/StaticAnalyzer/Core/ExprEngine.cpp
>   lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
>   test/Analysis/temp-obj-dtors-cfg-output.cpp
>   test/Analysis/temporaries.cpp
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140526/243deb64/attachment.html>


More information about the cfe-commits mailing list