Set up clang-tidy diagnostic consumer to print types etc.

Reviewers: bkramer

Reviewed By: bkramer

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D4494

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@212941 91177308-0d34-0410-b5e6-96231b3b80d8
[clang-tidy] Add a checker for swapped arguments.

This looks for swapped arguments by looking at implicit conversions of arguments

void Foo(int, double);
Foo(1.0, 3); // Most likely a bug

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