[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: llvm / clang / scan-build of the Hurd

From: Samuel Thibault
Subject: Re: llvm / clang / scan-build of the Hurd
Date: Tue, 22 Oct 2013 22:42:18 +0200
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Justus Winter, le Tue 22 Oct 2013 17:12:54 +0200, a écrit :
> Note the "", on my linux box that reads "/usr/bin/clang"
> instead. Thoughts?

I've noticed that in the llvm toolchain things are
missing/missconfigured indeed.  That's probably related.

> The static analyzer is good at spotting errors, see [0] for a partial
> build of the Hurd using scan-build.

They seem worth having a look at indeed.

> Clang does not support nested functions [1],
>  iiuc [...] the semantic is not too well defined.

> I propose to deprecate their use for the Hurd and to gradually rewrite
> the code that uses them, starting with the core libraries, to make it
> possible to analyze them using the static analyzer.

If it's not too hard, it can be useful to get better exposure to
static analysis indeed.  Nested functions are however sometimes really
convenient, that may not be always easy to replace.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]