[clang-tools-extra] r221885 - Regression test for the --serialize-diagnostics problem fixed in r221884.

Alexander Kornienko alexfh at google.com
Thu Nov 13 05:09:16 PST 2014


Author: alexfh
Date: Thu Nov 13 07:09:16 2014
New Revision: 221885

URL: http://llvm.org/viewvc/llvm-project?rev=221885&view=rev
Log:
Regression test for the --serialize-diagnostics problem fixed in r221884.


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

Added: 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=221885&view=auto
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/serialize-diagnostics.cpp (added)
+++ clang-tools-extra/trunk/test/clang-tidy/serialize-diagnostics.cpp Thu Nov 13 07:09:16 2014
@@ -0,0 +1,3 @@
+// RUN: clang-tidy %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