[cfe-commits] r124280 - in /cfe/trunk: lib/Sema/AnalysisBasedWarnings.cpp test/SemaCXX/warn-missing-noreturn.cpp

Eric Christopher echristo at apple.com
Tue Jan 25 22:48:08 PST 2011


On Jan 25, 2011, at 8:49 PM, Ted Kremenek wrote:

> Author: kremenek
> Date: Tue Jan 25 22:49:52 2011
> New Revision: 124280
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=124280&view=rev
> Log:
> Teach -Wreturn-type that destructors can appear
> after a 'return' in a CFGBlock.  This accidentally
> was working before, but the false assumption that
> 'return' always appeared at the end of the block
> was uncovered by a recent change.

Thanks Ted!

-eric



More information about the cfe-commits mailing list