clang-tools-extra/cpp11-migrate
Stefanus Du Toit 59304c89d7 cpp11-migrate: Reduce the number of parsing passes.
Previously we would check the syntax of the file before we transform
it, but that's redundant since it'll be checked as part of the
transformation. Remove that check completely.

We also had an unconditional syntax check after transforming. This
is only really useful to debug cpp11-migrate, since users will end
up compiling the transformed source anyways, and the transformations
*should* never introduce a failure. Made this an option, accessible
via "-final-syntax-check".

Resolves PR 15380.



git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@176376 91177308-0d34-0410-b5e6-96231b3b80d8
2013-03-01 20:53:43 +00:00
..
LoopConvert Fix documentation comment in LoopConvert 2013-02-27 17:34:57 +00:00
UseAuto Introducing Use-Auto transform for cpp11-migrate 2013-02-28 16:29:24 +00:00
UseNullptr cpp11-migrate: Factor out duplicate code in UseNullPtr 2013-03-01 19:47:09 +00:00
CMakeLists.txt Introducing Use-Auto transform for cpp11-migrate 2013-02-28 16:29:24 +00:00
Cpp11Migrate.cpp cpp11-migrate: Reduce the number of parsing passes. 2013-03-01 20:53:43 +00:00
Makefile Introducing Use-Auto transform for cpp11-migrate 2013-02-28 16:29:24 +00:00
Transform.cpp Propagate changes through no-op transforms 2013-02-15 19:38:28 +00:00
Transform.h Propagate changes through no-op transforms 2013-02-15 19:38:28 +00:00
Transforms.cpp Introducing Use-Auto transform for cpp11-migrate 2013-02-28 16:29:24 +00:00
Transforms.h Port loop-convert into cpp11-migrate 2013-01-04 18:25:18 +00:00