Fix clang-query on Windows: flush llvm::outs() after each command.

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@209313 91177308-0d34-0410-b5e6-96231b3b80d8
Add clang-tidy -line-filter option to filter findings by line ranges.

Summary:
This is going to be used for a clang-tidy-diff script to display
warnings in changed lines only. The option uses JSON, as its value is not
intended to be entered manually.

Reviewers: klimek

Reviewed By: klimek

Subscribers: cfe-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@209450 91177308-0d34-0410-b5e6-96231b3b80d8
Update the code according to the changes in r209468.

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@209470 91177308-0d34-0410-b5e6-96231b3b80d8
Merge pull request #3 from llvm-mirror/master

git pull