[clang-tools-extra] r369783 - Fix clang-tidy warning in clang-tidy
Benjamin Kramer via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 23 10:27:05 PDT 2019
Author: d0k
Date: Fri Aug 23 10:27:04 2019
New Revision: 369783
URL: http://llvm.org/viewvc/llvm-project?rev=369783&view=rev
Log:
Fix clang-tidy warning in clang-tidy
argument name 'FixDescription' in comment does not match parameter name 'Description'
Patch by Nils Barth!
Modified:
clang-tools-extra/trunk/clang-tidy/misc/UnusedUsingDeclsCheck.cpp
Modified: clang-tools-extra/trunk/clang-tidy/misc/UnusedUsingDeclsCheck.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/misc/UnusedUsingDeclsCheck.cpp?rev=369783&r1=369782&r2=369783&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/misc/UnusedUsingDeclsCheck.cpp (original)
+++ clang-tools-extra/trunk/clang-tidy/misc/UnusedUsingDeclsCheck.cpp Fri Aug 23 10:27:04 2019
@@ -157,7 +157,7 @@ void UnusedUsingDeclsCheck::onEndOfTrans
<< 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);
}
}
More information about the cfe-commits
mailing list