[cfe-dev] Warning about undefined methods/static attributes ?

João Matos ripzonetriton at gmail.com
Mon Aug 27 06:56:31 PDT 2012


>
> This is definitely a heuristic, and may not make sense as a default
> warning if some projects have the habit of splitting their class
> implementation into several files, but I have never encountered such a case
> in practice.
>

Clang does this in a couple of places.

Due to C++'s compilation model, I think a warning for this would have too
much false positives to be useful. But if it's not on by default, I see no
problem having this in.

-- 
João Matos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120827/18725676/attachment.html>


More information about the cfe-dev mailing list