[ClangTidy] Adjust the name getCheckName to getCheckerName due to API change.
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@371773 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/clang-tidy/ClangTidy.cpp b/clang-tidy/ClangTidy.cpp
index 9b89777..4c4745f 100644
--- a/clang-tidy/ClangTidy.cpp
+++ b/clang-tidy/ClangTidy.cpp
@@ -72,7 +72,7 @@
FilesMade *filesMade) override {
for (const ento::PathDiagnostic *PD : Diags) {
SmallString<64> CheckName(AnalyzerCheckNamePrefix);
- CheckName += PD->getCheckName();
+ CheckName += PD->getCheckerName();
Context.diag(CheckName, PD->getLocation().asLocation(),
PD->getShortDescription())
<< PD->path.back()->getRanges();