Re: KASSERT and clang static analyzer

2017-04-19 Thread Edgar Fuß
> But as Taylor Campbell noted, if KASSERT sometimes does not return but > other times *does* return, then it's problematic for the analyzer since > it considers an assertion handler to be a function that does not return. Isn't analyzer_noreturn made for this?

Re: KASSERT and clang static analyzer

2017-04-19 Thread J. Lewis Muir
On 04/19, Edgar Fuß wrote: > > But as Taylor Campbell noted, if KASSERT sometimes does not return but > > other times *does* return, then it's problematic for the analyzer since > > it considers an assertion handler to be a function that does not return. > > Isn't analyzer_noreturn made for this?