[clang-tidy] Minor documentation improvement
authorGabor Horvath <xazax.hun@gmail.com>
Thu, 10 Aug 2017 09:13:26 +0000 (09:13 +0000)
committerGabor Horvath <xazax.hun@gmail.com>
Thu, 10 Aug 2017 09:13:26 +0000 (09:13 +0000)
Patch by: Lilla Barancsuk

llvm-svn: 310559

clang-tools-extra/docs/clang-tidy/checks/readability-static-accessed-through-instance.rst
clang-tools-extra/test/clang-tidy/readability-static-accessed-through-instance.cpp

index 1c760b8..fff3f4a 100644 (file)
@@ -116,7 +116,7 @@ using E = D;
 
 template <typename T> void f(T t, C c) {
   t.x; // OK, t is a template parameter.
-  c.x; // 1
+  c.x;
   // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: static member
   // CHECK-FIXES: {{^}}  C::x; // 1{{$}}
 }