cpp11-migrate: Fix build break on Windows introduced in r187041.

r187041 changed the way the transform are created and the order the transformed
are applied "may" have changed as well (no specific constraints exist on the
order). This produced a test failure on the Windows buildbot.

Now the test use -std=c++11, so 'nullptr' is defined and the test is not anymore
dependent on the order the transforms are applied.

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@187048 91177308-0d34-0410-b5e6-96231b3b80d8
Fix doxygen warnings
Doxygen doesn't recognize <blockquote> html tags. Added support for <blockquote>
and Markdown was introduce with doxygen 1.8.0. This patch replaces blockquote
with \par for compatibility with previous versions.


git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@187067 91177308-0d34-0410-b5e6-96231b3b80d8
cpp11-migrate: Tweak lit tests to avoid false negatives

Recent failures on a freebsd buildbot indicated a weakness in the
Reformatting.cpp lit test. Tweaking the test to avoid false negatives and
hopefully make the buildbot happy.



git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@187153 91177308-0d34-0410-b5e6-96231b3b80d8
cpp11-migrate: Write header replacements to disk

Header replacements are now written to disk in YAML format for an external tool
to merge. A unique file will be created in the same directory as the header
with all replacements that came from a source file that included the header
file. The YAML file will have:
 - Name of the file
 - Transform ID that generated the replacement
 - Offset
 - Length
 - Replacement text

Any tool reading these replacements should read them using the TransformDocument
struct.

Differential Revision: http://llvm-reviews.chandlerc.com/D1142


git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@187204 91177308-0d34-0410-b5e6-96231b3b80d8
Revert "cpp11-migrate: Write header replacements to disk"

This reverts commit 187204. It broke the freebsd bots:

http://lab.llvm.org:8011/builders/clang-X86_64-freebsd/builds/9561

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@187227 91177308-0d34-0410-b5e6-96231b3b80d8
Added new feature for checking macro and preprocessor conditional consistency.

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@187228 91177308-0d34-0410-b5e6-96231b3b80d8
Revert "Added new feature for checking macro and preprocessor conditional consistency."

This reverts commit r187228. It broke some bots:
http://bb.pgr.jp/builders/cmake-clang-i686-mingw32

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@187235 91177308-0d34-0410-b5e6-96231b3b80d8
Fixed case change that caused the test failure.  Incorporarated Sean's review changes, consisting only of renaming and comment changes.

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@187277 91177308-0d34-0410-b5e6-96231b3b80d8
Fixed missing checkin.

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@187282 91177308-0d34-0410-b5e6-96231b3b80d8
Fixed checkin of wrong old files. Hopefully this is the end of the test failure.

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@187287 91177308-0d34-0410-b5e6-96231b3b80d8
modularize: Remove default case from fully covered switch.

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@187306 91177308-0d34-0410-b5e6-96231b3b80d8
Initial architecture for clang-tidy.

This is the first version of a possible clang-tidy architecture. The
purpose of clang-tidy is to detect errors in adhering to common coding
patterns, e.g. described in the LLVM Coding Standards.

This is still heavily in flux.

Review: http://llvm-reviews.chandlerc.com/D884

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@187345 91177308-0d34-0410-b5e6-96231b3b80d8
Fix build error caused by r187345.

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@187346 91177308-0d34-0410-b5e6-96231b3b80d8
cpp11-migrate: Add -for-compilers command line switch.

This change add a new option command line option -for-compilers that allows the
user to enable multiple transforms automatically.

Another difference is that now all transforms are enabled by default.

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@187360 91177308-0d34-0410-b5e6-96231b3b80d8
Fixed comment issues (non-ASCII chars, typos) per review, expanded some comments.

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@187370 91177308-0d34-0410-b5e6-96231b3b80d8
Fixed comment typo.

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@187384 91177308-0d34-0410-b5e6-96231b3b80d8
cpp11-migrate: Write header replacements to disk

Committing r187204 with fixes for darwin. Note that one of the lit tests are
disabled on windows due to a bug in writing header replacements to file.

Header replacements are now written to disk in YAML format for an external tool
to merge. A unique file will be created in the same directory as the header
with all replacements that came from a source file that included the header
file. The YAML file will have:
 - Name of the file
 - Transform ID that generated the replacement
 - Offset
 - Length
 - Replacement text

Any tool reading these replacements should read them using the
TransformDocument struct.



git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@187428 91177308-0d34-0410-b5e6-96231b3b80d8
Revert "cpp11-migrate: Write header replacements to disk"

This reverts commit 187428. It broke the windows bots.
http://bb.pgr.jp/builders/ninja-clang-i686-msc17-R/builds/3450

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@187447 91177308-0d34-0410-b5e6-96231b3b80d8
Fixed path differences when using include/exclude headers

Added function for removing relative operators from input paths.


git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@187481 91177308-0d34-0410-b5e6-96231b3b80d8
Remove dead #includes.

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@187536 91177308-0d34-0410-b5e6-96231b3b80d8