[cfe-dev] [analyzer] Reorganization of Checker files

Argyrios Kyrtzidis kyrtzidis at apple.com
Tue Dec 21 09:47:20 PST 2010


Hi,

We'd like to reorganize the Checker related code of the static analyzer to make it easier for browsing and to give it its own namespace.
(The important "heads up" here is that there will be a lot of breakage for those maintaining separate patches).

An idea is the 'GR' prefix, that is used in many classes, will be dropped and the 'GR' namespace will be introduced containing all checkers-related code.
The directory hierarchy will be like this:

include
| \-> clang
|       \-> GR [core stuff]
|             \-> Checkers [specific checkers headers]
|
lib
  \-> GR [libclangGRCore]
        \-> Checkers [libclangGRCheckers]


Classes in clang/GR will be inside "clang::GR::" namespace.

Any comments, objections, lawsuits, etc, are welcome!

-Argiris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20101221/349747d8/attachment.html>


More information about the cfe-dev mailing list