Fix clang-tidy warning in clang-tidy
argument name 'FixDescription' in comment does not match parameter name 'Description'
Patch by Nils Barth!
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@369783 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/clang-tidy/misc/UnusedUsingDeclsCheck.cpp b/clang-tidy/misc/UnusedUsingDeclsCheck.cpp
index 3dabca9..256c676 100644
--- a/clang-tidy/misc/UnusedUsingDeclsCheck.cpp
+++ b/clang-tidy/misc/UnusedUsingDeclsCheck.cpp
@@ -157,7 +157,7 @@
<< Context.FoundUsingDecl;
// Emit a fix and a fix description of the check;
diag(Context.FoundUsingDecl->getLocation(),
- /*FixDescription=*/"remove the using", DiagnosticIDs::Note)
+ /*Description=*/"remove the using", DiagnosticIDs::Note)
<< FixItHint::CreateRemoval(Context.UsingDeclRange);
}
}