[cfe-dev] Warning about undefined methods/static attributes ?
Sebastian Redl
sebastian.redl at getdesigned.at
Mon Aug 27 06:53:11 PDT 2012
On 27.08.2012 13:48, Matthieu Monrocq wrote:
>
> 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 itself? Parser and Sema at the very least are split across several
files. Also Decl (DeclBase.cpp and DeclPrinter.cpp), Stmt (Stmt.cpp,
StmtDumper.cpp, ...), Expr (Expr.cpp, ExprConstant.cpp, ...), and
probably Type as well.
That's not to say that such a warning wouldn't be potentially useful.
But splitting implementation is definitely done.
Sebastian
More information about the cfe-dev
mailing list