diff options
| author | NAKAMURA Takumi <geek4civic@gmail.com> | 2014-07-16 13:36:39 +0000 |
|---|---|---|
| committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2014-07-16 13:36:39 +0000 |
| commit | 692d6bb544338c65550a46d76b81db668d4901f5 (patch) | |
| tree | 9ca31c12c035fec6c1144fc7ce8ebb1698074159 /clang/test/Sema | |
| parent | c5ac729131abfb35f56769a9a7b299e4e3432c50 (diff) | |
| download | bcm5719-llvm-692d6bb544338c65550a46d76b81db668d4901f5.tar.gz bcm5719-llvm-692d6bb544338c65550a46d76b81db668d4901f5.zip | |
clang/test: Introduce the feature "rewriter" for --enable-clang-rewriter.
llvm-svn: 213148
Diffstat (limited to 'clang/test/Sema')
| -rw-r--r-- | clang/test/Sema/format-strings-fixit-ssize_t.c | 1 | ||||
| -rw-r--r-- | clang/test/Sema/format-strings-fixit.c | 1 | ||||
| -rw-r--r-- | clang/test/Sema/format-strings-no-fixit.c | 1 | ||||
| -rw-r--r-- | clang/test/Sema/warn-documentation-almost-trailing.c | 1 | ||||
| -rw-r--r-- | clang/test/Sema/warn-strncat-size.c | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Sema/format-strings-fixit-ssize_t.c b/clang/test/Sema/format-strings-fixit-ssize_t.c index 5208a294a48..6e8e49bf97e 100644 --- a/clang/test/Sema/format-strings-fixit-ssize_t.c +++ b/clang/test/Sema/format-strings-fixit-ssize_t.c @@ -2,6 +2,7 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -pedantic -Wall -fixit %t // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -pedantic -Wall -Werror %t // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -E -o - %t | FileCheck %s +// REQUIRES: rewriter /* This is a test of the various code modification hints that are provided as part of warning or extension diagnostics. All of the diff --git a/clang/test/Sema/format-strings-fixit.c b/clang/test/Sema/format-strings-fixit.c index b982eb45e5f..098c7e05cad 100644 --- a/clang/test/Sema/format-strings-fixit.c +++ b/clang/test/Sema/format-strings-fixit.c @@ -2,6 +2,7 @@ // RUN: %clang_cc1 -pedantic -Wall -fixit %t // RUN: %clang_cc1 -fsyntax-only -pedantic -Wall -Werror %t // RUN: %clang_cc1 -E -o - %t | FileCheck %s +// REQUIRES: rewriter /* This is a test of the various code modification hints that are provided as part of warning or extension diagnostics. All of the diff --git a/clang/test/Sema/format-strings-no-fixit.c b/clang/test/Sema/format-strings-no-fixit.c index 701e945f690..7371fde735c 100644 --- a/clang/test/Sema/format-strings-no-fixit.c +++ b/clang/test/Sema/format-strings-no-fixit.c @@ -1,6 +1,7 @@ // RUN: cp %s %t // RUN: %clang_cc1 -fsyntax-only -fixit %t // RUN: %clang_cc1 -E -o - %t | FileCheck %s +// REQUIRES: rewriter /* This is a test of the various code modification hints that are provided as part of warning or extension diagnostics. Only diff --git a/clang/test/Sema/warn-documentation-almost-trailing.c b/clang/test/Sema/warn-documentation-almost-trailing.c index 9ff71a3bce3..e3dee2977a9 100644 --- a/clang/test/Sema/warn-documentation-almost-trailing.c +++ b/clang/test/Sema/warn-documentation-almost-trailing.c @@ -3,6 +3,7 @@ // RUN: cp %s %t // RUN: %clang_cc1 -fsyntax-only -Wdocumentation -fixit %t // RUN: %clang_cc1 -fsyntax-only -Wdocumentation -Werror %t +// REQUIRES: rewriter struct a { int x; //< comment // expected-warning {{not a Doxygen trailing comment}} diff --git a/clang/test/Sema/warn-strncat-size.c b/clang/test/Sema/warn-strncat-size.c index dcc3367e949..0b74b21d583 100644 --- a/clang/test/Sema/warn-strncat-size.c +++ b/clang/test/Sema/warn-strncat-size.c @@ -2,6 +2,7 @@ // RUN: %clang_cc1 -DUSE_BUILTINS -Wstrncat-size -verify -fsyntax-only %s // RUN: %clang_cc1 -fsyntax-only -Wstrncat-size -fixit -x c %s // RUN: %clang_cc1 -DUSE_BUILTINS -fsyntax-only -Wstrncat-size -fixit -x c %s +// REQUIRES: rewriter typedef __SIZE_TYPE__ size_t; size_t strlen (const char *s); |

