Make lit.site.cfg Py3-compatible. Copied from r188041.

git-svn-id: http://llvm.org/svn/llvm-project/clang-tools-extra/trunk@198204 91177308-0d34-0410-b5e6-96231b3b80d8
Update the copyright credits -- Happy new year 2014!

FIXME: Dragonegg may be updated at non-trivial changes.

git-svn-id: http://llvm.org/svn/llvm-project/clang-tools-extra/trunk@198274 91177308-0d34-0410-b5e6-96231b3b80d8
Refactored Clang-tidy for better reusability.

Summary:
Made ClangTidyAction more slim and moved its declaration to header to
allow easy creation of Clang-tidy ASTConsumer. Don't derive from
clang::ento::AnalysisAction, use clang::ento::CreateAnalysisConsumer instead
(I'll propose making this function a part of a public API in a separate patch).

Use MultiplexConsumer instead of a custom class.

Don't re-filter checkers list for each TU.

Reviewers: klimek

Reviewed By: klimek

CC: cfe-commits

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

git-svn-id: http://llvm.org/svn/llvm-project/clang-tools-extra/trunk@198402 91177308-0d34-0410-b5e6-96231b3b80d8
clang-tidy: Fix build since r198402 in the case that the source tree of clang-tools-extra is not located on clang/tools/extra.

FIXME: Get rid of private headers in other modules.

git-svn-id: http://llvm.org/svn/llvm-project/clang-tools-extra/trunk@198403 91177308-0d34-0410-b5e6-96231b3b80d8
clang-tody: Rework r198403, to fix build.

git-svn-id: http://llvm.org/svn/llvm-project/clang-tools-extra/trunk@198404 91177308-0d34-0410-b5e6-96231b3b80d8
Rework of r198404 to avoid changes in the build configuration.


git-svn-id: http://llvm.org/svn/llvm-project/clang-tools-extra/trunk@198405 91177308-0d34-0410-b5e6-96231b3b80d8
Clear the diagnostic buffer after flushing it.

Reviewers: klimek

Reviewed By: klimek

CC: cfe-commits

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

git-svn-id: http://llvm.org/svn/llvm-project/clang-tools-extra/trunk@198423 91177308-0d34-0410-b5e6-96231b3b80d8
A follow-up to r198426: move AnalysisConsumer.h to include/clang/...

git-svn-id: http://llvm.org/svn/llvm-project/clang-tools-extra/trunk@198427 91177308-0d34-0410-b5e6-96231b3b80d8
Initial checkin of new module-map-checker tool.

git-svn-id: http://llvm.org/svn/llvm-project/clang-tools-extra/trunk@198693 91177308-0d34-0410-b5e6-96231b3b80d8
Run llvm/utils/sort_includes.py over the Clang tools code. This doesn't
always produce as pretty of results as it does in LLVM and Clang, but
I don't mind and the value of having a single canonical ordering is very
high IMO.

Let me know if you spot really serious problems here.

git-svn-id: http://llvm.org/svn/llvm-project/clang-tools-extra/trunk@198703 91177308-0d34-0410-b5e6-96231b3b80d8
Fix the top header that corresponds to this source file. Thanks for
spotting this Cody Maloney!

git-svn-id: http://llvm.org/svn/llvm-project/clang-tools-extra/trunk@198716 91177308-0d34-0410-b5e6-96231b3b80d8
Don't emit diagnostics for system headers.

Reviewers: djasper

Reviewed By: djasper

CC: cfe-commits

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

git-svn-id: http://llvm.org/svn/llvm-project/clang-tools-extra/trunk@198767 91177308-0d34-0410-b5e6-96231b3b80d8
Restructured code, no functional changes.

Summary:
Moved implementation of classes declared in
ClangTidyDiagnosticConsumer.h to ClangTidyDiagnosticConsumer.cpp.
Added a FIXME note in ClangTidyDiagnosticConsumer::HandleDiagnostic.

Reviewers: klimek, djasper

Reviewed By: klimek

CC: cfe-commits

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

git-svn-id: http://llvm.org/svn/llvm-project/clang-tools-extra/trunk@198807 91177308-0d34-0410-b5e6-96231b3b80d8
Updated file comment.

git-svn-id: http://llvm.org/svn/llvm-project/clang-tools-extra/trunk@198808 91177308-0d34-0410-b5e6-96231b3b80d8
Fix typo

git-svn-id: http://llvm.org/svn/llvm-project/clang-tools-extra/trunk@198831 91177308-0d34-0410-b5e6-96231b3b80d8
Reverted r198807, r198808, as they cause link errors in configure builds. Will look at this later.

git-svn-id: http://llvm.org/svn/llvm-project/clang-tools-extra/trunk@198832 91177308-0d34-0410-b5e6-96231b3b80d8
Re-applied r198807, r198808 with an additional change to fix linking in configure Release+Asserts build.

git-svn-id: http://llvm.org/svn/llvm-project/clang-tools-extra/trunk@198875 91177308-0d34-0410-b5e6-96231b3b80d8
[CMake] module-map-checker itself should depend just on LLVMSupport.

git-svn-id: http://llvm.org/svn/llvm-project/clang-tools-extra/trunk@199072 91177308-0d34-0410-b5e6-96231b3b80d8
Add the check name to the clang-tidy diagnostic output.

Summary:
Pass check names all the way from ClangTidyModule through
ClangTidyCheck and ClangTidyContext to ClangTidyError, and output it in
handleErrors. This allows to find mis-behaving check and disable it easily.

Reviewers: djasper, klimek

Reviewed By: djasper

CC: cfe-commits

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

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