[clang-tools-extra] r223232 - [clang-tidy] Make a test independent of the default check set.

Alexander Kornienko alexfh at google.com
Wed Dec 3 05:48:46 PST 2014


Author: alexfh
Date: Wed Dec  3 07:48:46 2014
New Revision: 223232

URL: http://llvm.org/viewvc/llvm-project?rev=223232&view=rev
Log:
[clang-tidy] Make a test independent of the default check set.

Modified:
    clang-tools-extra/trunk/test/clang-tidy/serialize-diagnostics.cpp

Modified: clang-tools-extra/trunk/test/clang-tidy/serialize-diagnostics.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/serialize-diagnostics.cpp?rev=223232&r1=223231&r2=223232&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/serialize-diagnostics.cpp (original)
+++ clang-tools-extra/trunk/test/clang-tidy/serialize-diagnostics.cpp Wed Dec  3 07:48:46 2014
@@ -1,3 +1,3 @@
-// RUN: clang-tidy %s -- --serialize-diagnostics %t | FileCheck %s
+// RUN: clang-tidy -checks=-*,llvm-namespace-comment %s -- -serialize-diagnostics %t | FileCheck %s
 // CHECK: :[[@LINE+1]]:12: error: expected ';' after struct [clang-diagnostic-error]
 struct A {}





More information about the cfe-commits mailing list