[clang-tools-extra] r256559 - [clang-tidy] Fix capitalization of the message in the example

Alexander Kornienko via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 29 05:28:11 PST 2015


Author: alexfh
Date: Tue Dec 29 07:28:10 2015
New Revision: 256559

URL: http://llvm.org/viewvc/llvm-project?rev=256559&view=rev
Log:
[clang-tidy] Fix capitalization of the message in the example

Modified:
    clang-tools-extra/trunk/docs/clang-tidy/index.rst

Modified: clang-tools-extra/trunk/docs/clang-tidy/index.rst
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/index.rst?rev=256559&r1=256558&r2=256559&view=diff
==============================================================================
--- clang-tools-extra/trunk/docs/clang-tidy/index.rst (original)
+++ clang-tools-extra/trunk/docs/clang-tidy/index.rst Tue Dec 29 07:28:10 2015
@@ -346,7 +346,7 @@ can further inspect them and report diag
     if (Ctor->getNumParams() == 0 || Ctor->getMinRequiredArguments() > 1)
       return;
     SourceLocation Loc = Ctor->getLocation();
-    diag(Loc, "Single-argument constructors must be explicit")
+    diag(Loc, "single-argument constructors must be explicit")
         << FixItHint::CreateInsertion(Loc, "explicit ");
   }
 




More information about the cfe-commits mailing list