Hi!
Have you heard of this Google project :
https://code.google.com/p/cppclean/
For some reason it no longer contains code and has been forked on
https://github.com/myint/cppclean
The features currently implemented:
-
Find and print C++ language constructs: classes, methods, functions, etc.
-
Find classes with virtual methods, no virtual destructor, and no bases
-
Find global/static data that are potential problems when using threads
-
Unnecessary forward class declarations
-
Unnecessary function declarations
-
Undeclared function definitions
- Find unnecessary header files #included
- No direct reference to anything in the header
- Header is unnecessary if classes were forward declared instead
Needless to say that this could be useful for us. I've heard that it
reported a few false-positives, but if we're incremental enough we should
catch these easily enough.
I'll soon merge significant changes to the codebase (better integration of
the kernel generator, {matrix, vector}.hpp split up, etc), but perhaps it
could be a good idea to have a round of cleanup after that. Including an
uniformization of the codestyle.
Philippe
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
ViennaCL-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/viennacl-devel