Re: Austin English : shell32/tests: Don't check return values inside of if(0) ( LLVM/Clang).
14 Feb
2011
14 Feb
'11
5:26 p.m.
Austin, Static analyzer checks for unreachable assignments (like the ones that were removed in this patch) were turned off in Clang trunk recently (as of r125415). Looks like Clang was wrong ;). Chip
14 Feb
14 Feb
5:46 p.m.
New subject: Austin English : shell32/tests: Don't check return values inside of if(0) ( LLVM/Clang).
Charles, Charles Davis wrote:
Austin,
Static analyzer checks for unreachable assignments (like the ones that were removed in this patch) were turned off in Clang trunk recently (as of r125415). Looks like Clang was wrong ;). the ones that Austin removed are still pointless. The code is there to document the crashing function call. And a crashing function call has no return value ;)
bye michael
5421
Age (days ago)
5421
Last active (days ago)
1 comments
2 participants
participants (2)
-
Charles Davis -
Michael Stefaniuc