[clang-tools-extra] r315059 - Fixing the command line for a test and switching from tabs to spaces.
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 6 06:14:28 PDT 2017
Author: aaronballman
Date: Fri Oct 6 06:14:28 2017
New Revision: 315059
URL: http://llvm.org/viewvc/llvm-project?rev=315059&view=rev
Log:
Fixing the command line for a test and switching from tabs to spaces.
Modified:
clang-tools-extra/trunk/test/clang-tidy/google-readability-nested-namespace-comments.cpp
Modified: clang-tools-extra/trunk/test/clang-tidy/google-readability-nested-namespace-comments.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/google-readability-nested-namespace-comments.cpp?rev=315059&r1=315058&r2=315059&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/google-readability-nested-namespace-comments.cpp (original)
+++ clang-tools-extra/trunk/test/clang-tidy/google-readability-nested-namespace-comments.cpp Fri Oct 6 06:14:28 2017
@@ -1,12 +1,10 @@
-// RUN: %check_clang_tidy %s google-readability-namespace-comments %t -- -std=c++17
+// RUN: %check_clang_tidy %s google-readability-namespace-comments %t -- -- -std=c++17
namespace n1::n2 {
namespace n3 {
-
- // So that namespace is not empty.
- void f();
-
-
+ // So that namespace is not empty.
+ void f();
+
// CHECK-MESSAGES: :[[@LINE+4]]:2: warning: namespace 'n3' not terminated with
// CHECK-MESSAGES: :[[@LINE-7]]:11: note: namespace 'n3' starts here
// CHECK-MESSAGES: :[[@LINE+2]]:3: warning: namespace 'n1::n2' not terminated with a closing comment [google-readability-namespace-comments]
More information about the cfe-commits
mailing list