cp11-migrate: Integration with LibFormat
authorEdwin Vane <edwin.vane@intel.com>
Tue, 23 Jul 2013 12:50:03 +0000 (12:50 +0000)
committerEdwin Vane <edwin.vane@intel.com>
Tue, 23 Jul 2013 12:50:03 +0000 (12:50 +0000)
commit571a64159b4c828f2748b228993619bee416b90b
treef756baf58c396121d0cf4168057d08f623fa94f4
parent2dfb1cfd0cfffcf6444740579f39a865107a34e3
cp11-migrate: Integration with LibFormat

Adding a feature to optionally reformat code changed by the migrator. Like
LibFormat, can choose between built-in styles (LLVM, Mozilla, Google, Chromium)
or use a YAML-format config file.

Now with no dependency on iostream by the Reformatting.cpp LIT test.

Author: Guillaume Papin <guillaume.papin@epitech.eu>
llvm-svn: 186938
14 files changed:
clang-tools-extra/cpp11-migrate/Core/CMakeLists.txt
clang-tools-extra/cpp11-migrate/Core/FileOverrides.cpp
clang-tools-extra/cpp11-migrate/Core/FileOverrides.h
clang-tools-extra/cpp11-migrate/Core/Reformatting.cpp [new file with mode: 0644]
clang-tools-extra/cpp11-migrate/Core/Reformatting.h [new file with mode: 0644]
clang-tools-extra/cpp11-migrate/tool/Cpp11Migrate.cpp
clang-tools-extra/cpp11-migrate/tool/Makefile
clang-tools-extra/docs/MigratorUsage.rst
clang-tools-extra/test/cpp11-migrate/Core/Reformatting.cpp [new file with mode: 0644]
clang-tools-extra/unittests/cpp11-migrate/CMakeLists.txt
clang-tools-extra/unittests/cpp11-migrate/FileOverridesTest.cpp
clang-tools-extra/unittests/cpp11-migrate/Makefile
clang-tools-extra/unittests/cpp11-migrate/ReformattingTest.cpp [new file with mode: 0644]
clang-tools-extra/unittests/cpp11-migrate/TransformTest.cpp