[NFC] Update to account for DiagnosticRenderer use of FullSourceLoc
authorPeter Smith <peter.smith@linaro.org>
Tue, 27 Jun 2017 10:04:04 +0000 (10:04 +0000)
committerPeter Smith <peter.smith@linaro.org>
Tue, 27 Jun 2017 10:04:04 +0000 (10:04 +0000)
commitd34a65d6b689e2c8d765c8e36d4b085e5e1e9c23
treea168936a24f8040654621b60ae79e66b2753c1cb
parentfb4a0450db1a12d9168e72fceb7f6a2827703202
[NFC] Update to account for DiagnosticRenderer use of FullSourceLoc

D31709 [NFC] Refactor DiagnosticRenderer to use FullSourceLoc was committed
in r305684 and reverted in 305688 as clang-tidy and clang-query failed to
build. This change updates the extra tools to use the new interface.

Reviewers: christof, rnk, rsmith, rovka, alexfh

Reviewed By: alexfh

Differential Revision: https://reviews.llvm.org/D34513

llvm-svn: 306385
clang-tools-extra/clang-query/Query.cpp
clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp