[clang-tools-extra] r310560 - [clang-tidy] Fix a check-fixes line
Gabor Horvath via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 10 02:29:39 PDT 2017
Author: xazax
Date: Thu Aug 10 02:29:39 2017
New Revision: 310560
URL: http://llvm.org/viewvc/llvm-project?rev=310560&view=rev
Log:
[clang-tidy] Fix a check-fixes line
Modified:
clang-tools-extra/trunk/test/clang-tidy/readability-static-accessed-through-instance.cpp
Modified: clang-tools-extra/trunk/test/clang-tidy/readability-static-accessed-through-instance.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/readability-static-accessed-through-instance.cpp?rev=310560&r1=310559&r2=310560&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/readability-static-accessed-through-instance.cpp (original)
+++ clang-tools-extra/trunk/test/clang-tidy/readability-static-accessed-through-instance.cpp Thu Aug 10 02:29:39 2017
@@ -118,7 +118,7 @@ template <typename T> void f(T t, C c) {
t.x; // OK, t is a template parameter.
c.x;
// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: static member
- // CHECK-FIXES: {{^}} C::x; // 1{{$}}
+ // CHECK-FIXES: {{^}} C::x;{{$}}
}
template <int N> struct S { static int x; };
More information about the cfe-commits
mailing list