
website: http://clang.llvm.org/

Ubuntu packages: http://llvm.org/apt/

apt-get install clang-modernize-3.5

Notes:

http://clang.llvm.org/extra/ModernizerUsage.html

To run:

clang-modernize-3.5 -p=. -include=. -use-nullptr

example (from 'src')

clang-modernize-3.5 -p=. -include=basic -exclude-from=exclude-files.txt -use-nullptr

#
# To create compilation databasefile or 'compile_command.json' file
#

Install Bear from: https://github.com/rizsotto/Bear

git clone https://github.com/rizsotto/Bear.git
mkdir bear-build
cd bear-build
cmake ../Bear
make
make install

After install use 'bear make all' to generate
compile_commands.json file



