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); } } _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits