Skip to content

achauve/cppanalyze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CppAnalyze

CppAnalyze is a Clang-based C++ project to analyze C++ code.

The goal of this project is to provide a tool to analyze the code of a c++ project, so as to:

  • rename members, functions, ... according to some project conventions
  • detect bad constructs not wanted in the project and emit a warning/error
  • correct the simplest ones

Note

Currently CppAnalyze is hardly more than a Clang plugin example, and still in the state of a prototype.

Build

You need a recent version of LLVM and Clang (the best is to get the svn version, see the Clang getting started page) compiled with cmake.

In the directory where you cloned/extracted CppAnalyze:

mkdir build-debug
cd build-debug
ccmake ..
make

Test

For now, just run test.sh.

References

License

This code is released under the MIT License (see LICENSE.TXT for details).

Copyright © 2011 Adrien Chauve

About

Clang-based project to analyze C++ code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published