r213146 - Move clang/test/Frontend/rewrite-*.c to clang/test/Frontend/Rewriter/
NAKAMURA Takumi
geek4civic at gmail.com
Wed Jul 16 06:23:23 PDT 2014
Author: chapuni
Date: Wed Jul 16 08:23:13 2014
New Revision: 213146
URL: http://llvm.org/viewvc/llvm-project?rev=213146&view=rev
Log:
Move clang/test/Frontend/rewrite-*.c to clang/test/Frontend/Rewriter/
Added:
cfe/trunk/test/Frontend/Rewriter/
cfe/trunk/test/Frontend/Rewriter/Inputs/
cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes-bom.h
- copied, changed from r213145, cfe/trunk/test/Frontend/Inputs/rewrite-includes-bom.h
cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes-messages.h
- copied, changed from r213145, cfe/trunk/test/Frontend/Inputs/rewrite-includes-messages.h
cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes1.h
- copied, changed from r213145, cfe/trunk/test/Frontend/Inputs/rewrite-includes1.h
cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes2.h
- copied, changed from r213145, cfe/trunk/test/Frontend/Inputs/rewrite-includes2.h
cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes3.h
- copied, changed from r213145, cfe/trunk/test/Frontend/Inputs/rewrite-includes3.h
cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes4.h
- copied, changed from r213145, cfe/trunk/test/Frontend/Inputs/rewrite-includes4.h
cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes5.h
- copied, changed from r213145, cfe/trunk/test/Frontend/Inputs/rewrite-includes5.h
cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes6.h
- copied, changed from r213145, cfe/trunk/test/Frontend/Inputs/rewrite-includes6.h
cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes7.h
- copied, changed from r213145, cfe/trunk/test/Frontend/Inputs/rewrite-includes7.h
cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes8.h
- copied, changed from r213145, cfe/trunk/test/Frontend/Inputs/rewrite-includes8.h
cfe/trunk/test/Frontend/Rewriter/rewrite-includes-bom.c
- copied, changed from r213145, cfe/trunk/test/Frontend/rewrite-includes-bom.c
cfe/trunk/test/Frontend/Rewriter/rewrite-includes-cli-include.c
- copied, changed from r213145, cfe/trunk/test/Frontend/rewrite-includes-cli-include.c
cfe/trunk/test/Frontend/Rewriter/rewrite-includes-eof.c
- copied, changed from r213145, cfe/trunk/test/Frontend/rewrite-includes-eof.c
cfe/trunk/test/Frontend/Rewriter/rewrite-includes-header-cmd-line.c
- copied, changed from r213145, cfe/trunk/test/Frontend/rewrite-includes-header-cmd-line.c
cfe/trunk/test/Frontend/Rewriter/rewrite-includes-invalid-hasinclude.c
- copied, changed from r213145, cfe/trunk/test/Frontend/rewrite-includes-invalid-hasinclude.c
cfe/trunk/test/Frontend/Rewriter/rewrite-includes-messages.c
- copied, changed from r213145, cfe/trunk/test/Frontend/rewrite-includes-messages.c
cfe/trunk/test/Frontend/Rewriter/rewrite-includes-missing.c
- copied, changed from r213145, cfe/trunk/test/Frontend/rewrite-includes-missing.c
cfe/trunk/test/Frontend/Rewriter/rewrite-includes-modules.c
- copied, changed from r213145, cfe/trunk/test/Frontend/rewrite-includes-modules.c
cfe/trunk/test/Frontend/Rewriter/rewrite-includes-warnings.c
- copied, changed from r213145, cfe/trunk/test/Frontend/rewrite-includes-warnings.c
cfe/trunk/test/Frontend/Rewriter/rewrite-includes.c
- copied, changed from r213145, cfe/trunk/test/Frontend/rewrite-includes.c
cfe/trunk/test/Frontend/Rewriter/rewrite-macros.c
- copied, changed from r213145, cfe/trunk/test/Frontend/rewrite-macros.c
Removed:
cfe/trunk/test/Frontend/Inputs/rewrite-includes-bom.h
cfe/trunk/test/Frontend/Inputs/rewrite-includes-messages.h
cfe/trunk/test/Frontend/Inputs/rewrite-includes1.h
cfe/trunk/test/Frontend/Inputs/rewrite-includes2.h
cfe/trunk/test/Frontend/Inputs/rewrite-includes3.h
cfe/trunk/test/Frontend/Inputs/rewrite-includes4.h
cfe/trunk/test/Frontend/Inputs/rewrite-includes5.h
cfe/trunk/test/Frontend/Inputs/rewrite-includes6.h
cfe/trunk/test/Frontend/Inputs/rewrite-includes7.h
cfe/trunk/test/Frontend/Inputs/rewrite-includes8.h
cfe/trunk/test/Frontend/rewrite-includes-bom.c
cfe/trunk/test/Frontend/rewrite-includes-cli-include.c
cfe/trunk/test/Frontend/rewrite-includes-eof.c
cfe/trunk/test/Frontend/rewrite-includes-header-cmd-line.c
cfe/trunk/test/Frontend/rewrite-includes-invalid-hasinclude.c
cfe/trunk/test/Frontend/rewrite-includes-messages.c
cfe/trunk/test/Frontend/rewrite-includes-missing.c
cfe/trunk/test/Frontend/rewrite-includes-modules.c
cfe/trunk/test/Frontend/rewrite-includes-warnings.c
cfe/trunk/test/Frontend/rewrite-includes.c
cfe/trunk/test/Frontend/rewrite-macros.c
Removed: cfe/trunk/test/Frontend/Inputs/rewrite-includes-bom.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/Inputs/rewrite-includes-bom.h?rev=213145&view=auto
==============================================================================
--- cfe/trunk/test/Frontend/Inputs/rewrite-includes-bom.h (original)
+++ cfe/trunk/test/Frontend/Inputs/rewrite-includes-bom.h (removed)
@@ -1 +0,0 @@
-// This file starts with UTF-8 BOM marker.
Removed: cfe/trunk/test/Frontend/Inputs/rewrite-includes-messages.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/Inputs/rewrite-includes-messages.h?rev=213145&view=auto
==============================================================================
--- cfe/trunk/test/Frontend/Inputs/rewrite-includes-messages.h (original)
+++ cfe/trunk/test/Frontend/Inputs/rewrite-includes-messages.h (removed)
@@ -1,4 +0,0 @@
-void f()
-{
- int unused_variable;
-}
Removed: cfe/trunk/test/Frontend/Inputs/rewrite-includes1.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/Inputs/rewrite-includes1.h?rev=213145&view=auto
==============================================================================
--- cfe/trunk/test/Frontend/Inputs/rewrite-includes1.h (original)
+++ cfe/trunk/test/Frontend/Inputs/rewrite-includes1.h (removed)
@@ -1,3 +0,0 @@
-#pragma clang system_header
-included_line1
-#include "rewrite-includes2.h"
Removed: cfe/trunk/test/Frontend/Inputs/rewrite-includes2.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/Inputs/rewrite-includes2.h?rev=213145&view=auto
==============================================================================
--- cfe/trunk/test/Frontend/Inputs/rewrite-includes2.h (original)
+++ cfe/trunk/test/Frontend/Inputs/rewrite-includes2.h (removed)
@@ -1 +0,0 @@
-included_line2
Removed: cfe/trunk/test/Frontend/Inputs/rewrite-includes3.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/Inputs/rewrite-includes3.h?rev=213145&view=auto
==============================================================================
--- cfe/trunk/test/Frontend/Inputs/rewrite-includes3.h (original)
+++ cfe/trunk/test/Frontend/Inputs/rewrite-includes3.h (removed)
@@ -1 +0,0 @@
-included_line3
Removed: cfe/trunk/test/Frontend/Inputs/rewrite-includes4.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/Inputs/rewrite-includes4.h?rev=213145&view=auto
==============================================================================
--- cfe/trunk/test/Frontend/Inputs/rewrite-includes4.h (original)
+++ cfe/trunk/test/Frontend/Inputs/rewrite-includes4.h (removed)
@@ -1 +0,0 @@
-included_line4
Removed: cfe/trunk/test/Frontend/Inputs/rewrite-includes5.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/Inputs/rewrite-includes5.h?rev=213145&view=auto
==============================================================================
--- cfe/trunk/test/Frontend/Inputs/rewrite-includes5.h (original)
+++ cfe/trunk/test/Frontend/Inputs/rewrite-includes5.h (removed)
@@ -1 +0,0 @@
-included_line5
Removed: cfe/trunk/test/Frontend/Inputs/rewrite-includes6.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/Inputs/rewrite-includes6.h?rev=213145&view=auto
==============================================================================
--- cfe/trunk/test/Frontend/Inputs/rewrite-includes6.h (original)
+++ cfe/trunk/test/Frontend/Inputs/rewrite-includes6.h (removed)
@@ -1,2 +0,0 @@
-#pragma once
-included_line6
Removed: cfe/trunk/test/Frontend/Inputs/rewrite-includes7.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/Inputs/rewrite-includes7.h?rev=213145&view=auto
==============================================================================
--- cfe/trunk/test/Frontend/Inputs/rewrite-includes7.h (original)
+++ cfe/trunk/test/Frontend/Inputs/rewrite-includes7.h (removed)
@@ -1,4 +0,0 @@
-#ifndef REWRITE_INCLUDES_7
-#define REWRITE_INCLUDES_7
-included_line7
-#endif
Removed: cfe/trunk/test/Frontend/Inputs/rewrite-includes8.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/Inputs/rewrite-includes8.h?rev=213145&view=auto
==============================================================================
--- cfe/trunk/test/Frontend/Inputs/rewrite-includes8.h (original)
+++ cfe/trunk/test/Frontend/Inputs/rewrite-includes8.h (removed)
@@ -1,5 +0,0 @@
-#if __has_include_next(<rewrite-includes8.h>)
-#elif __has_include(<rewrite-includes8.hfail>)
-#endif
-#if !__has_include("rewrite-includes8.h")
-#endif
Copied: cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes-bom.h (from r213145, cfe/trunk/test/Frontend/Inputs/rewrite-includes-bom.h)
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes-bom.h?p2=cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes-bom.h&p1=cfe/trunk/test/Frontend/Inputs/rewrite-includes-bom.h&r1=213145&r2=213146&rev=213146&view=diff
==============================================================================
(empty)
Copied: cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes-messages.h (from r213145, cfe/trunk/test/Frontend/Inputs/rewrite-includes-messages.h)
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes-messages.h?p2=cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes-messages.h&p1=cfe/trunk/test/Frontend/Inputs/rewrite-includes-messages.h&r1=213145&r2=213146&rev=213146&view=diff
==============================================================================
(empty)
Copied: cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes1.h (from r213145, cfe/trunk/test/Frontend/Inputs/rewrite-includes1.h)
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes1.h?p2=cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes1.h&p1=cfe/trunk/test/Frontend/Inputs/rewrite-includes1.h&r1=213145&r2=213146&rev=213146&view=diff
==============================================================================
(empty)
Copied: cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes2.h (from r213145, cfe/trunk/test/Frontend/Inputs/rewrite-includes2.h)
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes2.h?p2=cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes2.h&p1=cfe/trunk/test/Frontend/Inputs/rewrite-includes2.h&r1=213145&r2=213146&rev=213146&view=diff
==============================================================================
(empty)
Copied: cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes3.h (from r213145, cfe/trunk/test/Frontend/Inputs/rewrite-includes3.h)
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes3.h?p2=cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes3.h&p1=cfe/trunk/test/Frontend/Inputs/rewrite-includes3.h&r1=213145&r2=213146&rev=213146&view=diff
==============================================================================
(empty)
Copied: cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes4.h (from r213145, cfe/trunk/test/Frontend/Inputs/rewrite-includes4.h)
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes4.h?p2=cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes4.h&p1=cfe/trunk/test/Frontend/Inputs/rewrite-includes4.h&r1=213145&r2=213146&rev=213146&view=diff
==============================================================================
(empty)
Copied: cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes5.h (from r213145, cfe/trunk/test/Frontend/Inputs/rewrite-includes5.h)
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes5.h?p2=cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes5.h&p1=cfe/trunk/test/Frontend/Inputs/rewrite-includes5.h&r1=213145&r2=213146&rev=213146&view=diff
==============================================================================
(empty)
Copied: cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes6.h (from r213145, cfe/trunk/test/Frontend/Inputs/rewrite-includes6.h)
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes6.h?p2=cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes6.h&p1=cfe/trunk/test/Frontend/Inputs/rewrite-includes6.h&r1=213145&r2=213146&rev=213146&view=diff
==============================================================================
(empty)
Copied: cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes7.h (from r213145, cfe/trunk/test/Frontend/Inputs/rewrite-includes7.h)
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes7.h?p2=cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes7.h&p1=cfe/trunk/test/Frontend/Inputs/rewrite-includes7.h&r1=213145&r2=213146&rev=213146&view=diff
==============================================================================
(empty)
Copied: cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes8.h (from r213145, cfe/trunk/test/Frontend/Inputs/rewrite-includes8.h)
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes8.h?p2=cfe/trunk/test/Frontend/Rewriter/Inputs/rewrite-includes8.h&p1=cfe/trunk/test/Frontend/Inputs/rewrite-includes8.h&r1=213145&r2=213146&rev=213146&view=diff
==============================================================================
(empty)
Copied: cfe/trunk/test/Frontend/Rewriter/rewrite-includes-bom.c (from r213145, cfe/trunk/test/Frontend/rewrite-includes-bom.c)
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/Rewriter/rewrite-includes-bom.c?p2=cfe/trunk/test/Frontend/Rewriter/rewrite-includes-bom.c&p1=cfe/trunk/test/Frontend/rewrite-includes-bom.c&r1=213145&r2=213146&rev=213146&view=diff
==============================================================================
(empty)
Copied: cfe/trunk/test/Frontend/Rewriter/rewrite-includes-cli-include.c (from r213145, cfe/trunk/test/Frontend/rewrite-includes-cli-include.c)
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/Rewriter/rewrite-includes-cli-include.c?p2=cfe/trunk/test/Frontend/Rewriter/rewrite-includes-cli-include.c&p1=cfe/trunk/test/Frontend/rewrite-includes-cli-include.c&r1=213145&r2=213146&rev=213146&view=diff
==============================================================================
(empty)
Copied: cfe/trunk/test/Frontend/Rewriter/rewrite-includes-eof.c (from r213145, cfe/trunk/test/Frontend/rewrite-includes-eof.c)
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/Rewriter/rewrite-includes-eof.c?p2=cfe/trunk/test/Frontend/Rewriter/rewrite-includes-eof.c&p1=cfe/trunk/test/Frontend/rewrite-includes-eof.c&r1=213145&r2=213146&rev=213146&view=diff
==============================================================================
(empty)
Copied: cfe/trunk/test/Frontend/Rewriter/rewrite-includes-header-cmd-line.c (from r213145, cfe/trunk/test/Frontend/rewrite-includes-header-cmd-line.c)
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/Rewriter/rewrite-includes-header-cmd-line.c?p2=cfe/trunk/test/Frontend/Rewriter/rewrite-includes-header-cmd-line.c&p1=cfe/trunk/test/Frontend/rewrite-includes-header-cmd-line.c&r1=213145&r2=213146&rev=213146&view=diff
==============================================================================
(empty)
Copied: cfe/trunk/test/Frontend/Rewriter/rewrite-includes-invalid-hasinclude.c (from r213145, cfe/trunk/test/Frontend/rewrite-includes-invalid-hasinclude.c)
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/Rewriter/rewrite-includes-invalid-hasinclude.c?p2=cfe/trunk/test/Frontend/Rewriter/rewrite-includes-invalid-hasinclude.c&p1=cfe/trunk/test/Frontend/rewrite-includes-invalid-hasinclude.c&r1=213145&r2=213146&rev=213146&view=diff
==============================================================================
(empty)
Copied: cfe/trunk/test/Frontend/Rewriter/rewrite-includes-messages.c (from r213145, cfe/trunk/test/Frontend/rewrite-includes-messages.c)
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/Rewriter/rewrite-includes-messages.c?p2=cfe/trunk/test/Frontend/Rewriter/rewrite-includes-messages.c&p1=cfe/trunk/test/Frontend/rewrite-includes-messages.c&r1=213145&r2=213146&rev=213146&view=diff
==============================================================================
(empty)
Copied: cfe/trunk/test/Frontend/Rewriter/rewrite-includes-missing.c (from r213145, cfe/trunk/test/Frontend/rewrite-includes-missing.c)
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/Rewriter/rewrite-includes-missing.c?p2=cfe/trunk/test/Frontend/Rewriter/rewrite-includes-missing.c&p1=cfe/trunk/test/Frontend/rewrite-includes-missing.c&r1=213145&r2=213146&rev=213146&view=diff
==============================================================================
(empty)
Copied: cfe/trunk/test/Frontend/Rewriter/rewrite-includes-modules.c (from r213145, cfe/trunk/test/Frontend/rewrite-includes-modules.c)
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/Rewriter/rewrite-includes-modules.c?p2=cfe/trunk/test/Frontend/Rewriter/rewrite-includes-modules.c&p1=cfe/trunk/test/Frontend/rewrite-includes-modules.c&r1=213145&r2=213146&rev=213146&view=diff
==============================================================================
--- cfe/trunk/test/Frontend/rewrite-includes-modules.c (original)
+++ cfe/trunk/test/Frontend/Rewriter/rewrite-includes-modules.c Wed Jul 16 08:23:13 2014
@@ -1,5 +1,5 @@
// RUN: rm -rf %t
-// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -x objective-c %s -F %S/../Modules/Inputs -E -frewrite-includes -o - | FileCheck %s
+// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -x objective-c %s -F %S/../../Modules/Inputs -E -frewrite-includes -o - | FileCheck %s
int bar();
#include <Module/Module.h>
Copied: cfe/trunk/test/Frontend/Rewriter/rewrite-includes-warnings.c (from r213145, cfe/trunk/test/Frontend/rewrite-includes-warnings.c)
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/Rewriter/rewrite-includes-warnings.c?p2=cfe/trunk/test/Frontend/Rewriter/rewrite-includes-warnings.c&p1=cfe/trunk/test/Frontend/rewrite-includes-warnings.c&r1=213145&r2=213146&rev=213146&view=diff
==============================================================================
(empty)
Copied: cfe/trunk/test/Frontend/Rewriter/rewrite-includes.c (from r213145, cfe/trunk/test/Frontend/rewrite-includes.c)
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/Rewriter/rewrite-includes.c?p2=cfe/trunk/test/Frontend/Rewriter/rewrite-includes.c&p1=cfe/trunk/test/Frontend/rewrite-includes.c&r1=213145&r2=213146&rev=213146&view=diff
==============================================================================
(empty)
Copied: cfe/trunk/test/Frontend/Rewriter/rewrite-macros.c (from r213145, cfe/trunk/test/Frontend/rewrite-macros.c)
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/Rewriter/rewrite-macros.c?p2=cfe/trunk/test/Frontend/Rewriter/rewrite-macros.c&p1=cfe/trunk/test/Frontend/rewrite-macros.c&r1=213145&r2=213146&rev=213146&view=diff
==============================================================================
(empty)
Removed: cfe/trunk/test/Frontend/rewrite-includes-bom.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/rewrite-includes-bom.c?rev=213145&view=auto
==============================================================================
--- cfe/trunk/test/Frontend/rewrite-includes-bom.c (original)
+++ cfe/trunk/test/Frontend/rewrite-includes-bom.c (removed)
@@ -1,8 +0,0 @@
-// RUN: grep -q $'^\xEF\xBB\xBF' %S/Inputs/rewrite-includes-bom.h
-// RUN: %clang_cc1 -E -frewrite-includes -I %S/Inputs %s -o %t.c
-// RUN: ! grep -q $'\xEF\xBB\xBF' %t.c
-// RUN: %clang_cc1 -fsyntax-only -verify %t.c
-// expected-no-diagnostics
-// REQUIRES: shell
-
-#include "rewrite-includes-bom.h"
Removed: cfe/trunk/test/Frontend/rewrite-includes-cli-include.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/rewrite-includes-cli-include.c?rev=213145&view=auto
==============================================================================
--- cfe/trunk/test/Frontend/rewrite-includes-cli-include.c (original)
+++ cfe/trunk/test/Frontend/rewrite-includes-cli-include.c (removed)
@@ -1,9 +0,0 @@
-// RUN: not %clang_cc1 -verify -E -frewrite-includes -include %S/Inputs/rewrite-includes2.h %s -o - | FileCheck -strict-whitespace %s
-main_file_line
-// CHECK: {{^}}# 1 "<built-in>"{{$}}
-// CHECK-NEXT: {{^}}# 1 "{{.*[/\\]Inputs(/|\\\\)}}rewrite-includes2.h" 1{{$}}
-// CHECK-NEXT: {{^}}included_line2{{$}}
-// CHECK-NEXT: {{^}}# 1 "<built-in>" 2{{$}}
-// CHECK-NEXT: {{^}}# 1 "{{.*}}rewrite-includes-cli-include.c"{{$}}
-// CHECK-NEXT: FileCheck
-// CHECK-NEXT: {{^}}main_file_line{{$}}
Removed: cfe/trunk/test/Frontend/rewrite-includes-eof.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/rewrite-includes-eof.c?rev=213145&view=auto
==============================================================================
--- cfe/trunk/test/Frontend/rewrite-includes-eof.c (original)
+++ cfe/trunk/test/Frontend/rewrite-includes-eof.c (removed)
@@ -1,4 +0,0 @@
-// RUN: %clang_cc1 -E -frewrite-includes -I %S/Inputs %s
-// expected-no-diagnostics
-// Note: there's no newline at the end of this C file.
-#include "rewrite-includes-bom.h"
\ No newline at end of file
Removed: cfe/trunk/test/Frontend/rewrite-includes-header-cmd-line.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/rewrite-includes-header-cmd-line.c?rev=213145&view=auto
==============================================================================
--- cfe/trunk/test/Frontend/rewrite-includes-header-cmd-line.c (original)
+++ cfe/trunk/test/Frontend/rewrite-includes-header-cmd-line.c (removed)
@@ -1,7 +0,0 @@
-// RUN: %clang_cc1 -E -frewrite-includes -include rewrite-includes2.h -I %S/Inputs %s -o - | FileCheck -strict-whitespace %s
-
-// STARTMAIN
-
-// CHECK-NOT: {{^}}#define
-// CHECK: included_line2
-// CHECK: {{^}}// STARTMAIN{{$}}
Removed: cfe/trunk/test/Frontend/rewrite-includes-invalid-hasinclude.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/rewrite-includes-invalid-hasinclude.c?rev=213145&view=auto
==============================================================================
--- cfe/trunk/test/Frontend/rewrite-includes-invalid-hasinclude.c (original)
+++ cfe/trunk/test/Frontend/rewrite-includes-invalid-hasinclude.c (removed)
@@ -1,17 +0,0 @@
-// RUN: not %clang_cc1 -E -frewrite-includes -DFIRST -I %S/Inputs %s -o - | FileCheck -strict-whitespace %s
-
-#if __has_include bar.h
-#endif
-
-#if __has_include(bar.h)
-#endif
-
-#if __has_include(<bar.h)
-#endif
-
-// CHECK: #if __has_include bar.h
-// CHECK: #endif
-// CHECK: #if __has_include(bar.h)
-// CHECK: #endif
-// CHECK: #if __has_include(<bar.h)
-// CHECK: #endif
Removed: cfe/trunk/test/Frontend/rewrite-includes-messages.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/rewrite-includes-messages.c?rev=213145&view=auto
==============================================================================
--- cfe/trunk/test/Frontend/rewrite-includes-messages.c (original)
+++ cfe/trunk/test/Frontend/rewrite-includes-messages.c (removed)
@@ -1,7 +0,0 @@
-// RUN: %clang_cc1 -E -frewrite-includes %s -I%S/Inputs/ | %clang_cc1 -Wall -fsyntax-only -Wunused-macros -x c - 2>&1 > %t.1
-// RUN: %clang_cc1 -I%S/Inputs/ -Wall -Wunused-macros -fsyntax-only %s 2>&1 > %t.2
-// RUN: diff %t.1 %t.2 -u
-// expected-no-diagnostics
-
-#include "rewrite-includes-messages.h"
-#define UNUSED_MACRO
Removed: cfe/trunk/test/Frontend/rewrite-includes-missing.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/rewrite-includes-missing.c?rev=213145&view=auto
==============================================================================
--- cfe/trunk/test/Frontend/rewrite-includes-missing.c (original)
+++ cfe/trunk/test/Frontend/rewrite-includes-missing.c (removed)
@@ -1,8 +0,0 @@
-// RUN: %clang_cc1 -verify -E -frewrite-includes %s -o - | FileCheck -strict-whitespace %s
-
-#include "foobar.h" // expected-error {{'foobar.h' file not found}}
-// CHECK: {{^}}#if 0 /* expanded by -frewrite-includes */{{$}}
-// CHECK-NEXT: {{^}}#include "foobar.h"
-// CHECK-NEXT: {{^}}#endif /* expanded by -frewrite-includes */{{$}}
-// CHECK-NEXT: {{^}}# 3 "{{.*}}rewrite-includes-missing.c"{{$}}
-// CHECK-NEXT: {{^}}# 4 "{{.*}}rewrite-includes-missing.c"{{$}}
Removed: cfe/trunk/test/Frontend/rewrite-includes-modules.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/rewrite-includes-modules.c?rev=213145&view=auto
==============================================================================
--- cfe/trunk/test/Frontend/rewrite-includes-modules.c (original)
+++ cfe/trunk/test/Frontend/rewrite-includes-modules.c (removed)
@@ -1,22 +0,0 @@
-// RUN: rm -rf %t
-// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -x objective-c %s -F %S/../Modules/Inputs -E -frewrite-includes -o - | FileCheck %s
-
-int bar();
-#include <Module/Module.h>
-int foo();
-#include <Module/Module.h>
-
-// CHECK: int bar();{{$}}
-// CHECK-NEXT: #if 0 /* expanded by -frewrite-includes */{{$}}
-// CHECK-NEXT: #include <Module/Module.h>{{$}}
-// CHECK-NEXT: #endif /* expanded by -frewrite-includes */{{$}}
-// CHECK-NEXT: # 5 "{{.*[/\\]}}rewrite-includes-modules.c"{{$}}
-// CHECK-NEXT: @import Module; /* clang -frewrite-includes: implicit import */{{$}}
-// CHECK-NEXT: # 6 "{{.*[/\\]}}rewrite-includes-modules.c"{{$}}
-// CHECK-NEXT: int foo();{{$}}
-// CHECK-NEXT: #if 0 /* expanded by -frewrite-includes */{{$}}
-// CHECK-NEXT: #include <Module/Module.h>{{$}}
-// CHECK-NEXT: #endif /* expanded by -frewrite-includes */{{$}}
-// CHECK-NEXT: # 7 "{{.*[/\\]}}rewrite-includes-modules.c"{{$}}
-// CHECK-NEXT: @import Module; /* clang -frewrite-includes: implicit import */{{$}}
-// CHECK-NEXT: # 8 "{{.*[/\\]}}rewrite-includes-modules.c"{{$}}
Removed: cfe/trunk/test/Frontend/rewrite-includes-warnings.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/rewrite-includes-warnings.c?rev=213145&view=auto
==============================================================================
--- cfe/trunk/test/Frontend/rewrite-includes-warnings.c (original)
+++ cfe/trunk/test/Frontend/rewrite-includes-warnings.c (removed)
@@ -1,4 +0,0 @@
-// RUN: %clang_cc1 -verify -Wall -Wextra -E -frewrite-includes %s
-// expected-no-diagnostics
-
-#pragma GCC visibility push (default)
Removed: cfe/trunk/test/Frontend/rewrite-includes.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/rewrite-includes.c?rev=213145&view=auto
==============================================================================
--- cfe/trunk/test/Frontend/rewrite-includes.c (original)
+++ cfe/trunk/test/Frontend/rewrite-includes.c (removed)
@@ -1,184 +0,0 @@
-// RUN: not %clang_cc1 -verify -E -frewrite-includes -DFIRST -I %S/Inputs %s -o - | FileCheck -strict-whitespace %s
-// RUN: not %clang_cc1 -verify -E -frewrite-includes -P -DFIRST -I %S/Inputs %s -o - | FileCheck -check-prefix=CHECKNL -strict-whitespace %s
-// STARTCOMPARE
-#define A(a,b) a ## b
-A(1,2)
-#include "rewrite-includes1.h"
-#ifdef FIRST
-#define HEADER "rewrite-includes3.h"
-#include HEADER
-#else
-#include "rewrite-includes4.h"
-#endif
- // indented
-#/**/include /**/ "rewrite-includes5.h" /**/ \
-
-#include "rewrite-includes6.h" // comment
-
-#include "rewrite-includes6.h" /* comment
- continues */
-#include "rewrite-includes7.h"
-#include "rewrite-includes7.h"
-#include "rewrite-includes8.h"
-// ENDCOMPARE
-// CHECK: {{^}}# 1 "{{.*}}rewrite-includes.c"{{$}}
-// CHECK: {{^}}// STARTCOMPARE{{$}}
-// CHECK-NEXT: {{^}}#define A(a,b) a ## b{{$}}
-// CHECK-NEXT: {{^}}A(1,2){{$}}
-// CHECK-NEXT: {{^}}#if 0 /* expanded by -frewrite-includes */{{$}}
-// CHECK-NEXT: {{^}}#include "rewrite-includes1.h"{{$}}
-// CHECK-NEXT: {{^}}#endif /* expanded by -frewrite-includes */{{$}}
-// CHECK-NEXT: {{^}}# 6 "{{.*}}rewrite-includes.c"{{$}}
-// CHECK-NEXT: {{^}}# 1 "{{.*[/\\]Inputs(/|\\\\)}}rewrite-includes1.h" 1{{$}}
-// CHECK-NEXT: {{^}}#if 0 /* expanded by -frewrite-includes */{{$}}
-// CHECK-NEXT: {{^}}#pragma clang system_header{{$}}
-// CHECK-NEXT: {{^}}#endif /* expanded by -frewrite-includes */{{$}}
-// CHECK-NEXT: {{^}}# 2 "{{.*[/\\]Inputs(/|\\\\)}}rewrite-includes1.h" 3{{$}}
-// CHECK-NEXT: {{^}}included_line1{{$}}
-// CHECK-NEXT: {{^}}#if 0 /* expanded by -frewrite-includes */{{$}}
-// CHECK-NEXT: {{^}}#include "rewrite-includes2.h"{{$}}
-// CHECK-NEXT: {{^}}#endif /* expanded by -frewrite-includes */{{$}}
-// CHECK-NEXT: {{^}}# 3 "{{.*[/\\]Inputs(/|\\\\)}}rewrite-includes1.h" 3{{$}}
-// CHECK-NEXT: {{^}}# 1 "{{.*[/\\]Inputs(/|\\\\)}}rewrite-includes2.h" 1 3{{$}}
-// CHECK-NEXT: {{^}}included_line2{{$}}
-// CHECK-NEXT: {{^}}# 4 "{{.*[/\\]Inputs(/|\\\\)}}rewrite-includes1.h" 2 3{{$}}
-// CHECK-NEXT: {{^}}# 7 "{{.*}}rewrite-includes.c" 2{{$}}
-// CHECK-NEXT: {{^}}#ifdef FIRST{{$}}
-// CHECK-NEXT: {{^}}#define HEADER "rewrite-includes3.h"{{$}}
-// CHECK-NEXT: {{^}}#if 0 /* expanded by -frewrite-includes */{{$}}
-// CHECK-NEXT: {{^}}#include HEADER{{$}}
-// CHECK-NEXT: {{^}}#endif /* expanded by -frewrite-includes */{{$}}
-// CHECK-NEXT: {{^}}# 9 "{{.*}}rewrite-includes.c"{{$}}
-// CHECK-NEXT: {{^}}# 1 "{{.*[/\\]Inputs(/|\\\\)}}rewrite-includes3.h" 1{{$}}
-// CHECK-NEXT: {{^}}included_line3{{$}}
-// CHECK-NEXT: {{^}}# 10 "{{.*}}rewrite-includes.c" 2{{$}}
-// CHECK-NEXT: {{^}}#else{{$}}
-// CHECK-NEXT: {{^}}# 11 "{{.*}}rewrite-includes.c"{{$}}
-// CHECK-NEXT: {{^}}#if 0 /* expanded by -frewrite-includes */{{$}}
-// CHECK-NEXT: {{^}}#include "rewrite-includes4.h"{{$}}
-// CHECK-NEXT: {{^}}#endif /* expanded by -frewrite-includes */{{$}}
-// CHECK-NEXT: {{^}}# 11 "{{.*}}rewrite-includes.c"{{$}}
-// CHECK-NEXT: {{^}}# 12 "{{.*}}rewrite-includes.c"{{$}}
-// CHECK-NEXT: {{^}}#endif{{$}}
-// CHECK-NEXT: {{^}}# 13 "{{.*}}rewrite-includes.c"{{$}}
-// CHECK-NEXT: {{^}} // indented{{$}}
-// CHECK-NEXT: {{^}}#if 0 /* expanded by -frewrite-includes */{{$}}
-// CHECK-NEXT: {{^}}#/**/include /**/ "rewrite-includes5.h" /**/ {{\\}}{{$}}
-// CHECK-NEXT: {{^}} {{$}}
-// CHECK-NEXT: {{^}}#endif /* expanded by -frewrite-includes */{{$}}
-// CHECK-NEXT: {{^}}# 15 "{{.*}}rewrite-includes.c"{{$}}
-// CHECK-NEXT: {{^}}# 1 "{{.*[/\\]Inputs(/|\\\\)}}rewrite-includes5.h" 1{{$}}
-// CHECK-NEXT: {{^}}included_line5{{$}}
-// CHECK-NEXT: {{^}}# 16 "{{.*}}rewrite-includes.c" 2{{$}}
-// CHECK-NEXT: {{^}}#if 0 /* expanded by -frewrite-includes */{{$}}
-// CHECK-NEXT: {{^}}#include "rewrite-includes6.h" // comment{{$}}
-// CHECK-NEXT: {{^}}#endif /* expanded by -frewrite-includes */{{$}}
-// CHECK-NEXT: {{^}}# 16 "{{.*}}rewrite-includes.c"{{$}}
-// CHECK-NEXT: {{^}}# 1 "{{.*[/\\]Inputs(/|\\\\)}}rewrite-includes6.h" 1{{$}}
-// CHECK-NEXT: {{^}}#if 0 /* expanded by -frewrite-includes */{{$}}
-// CHECK-NEXT: {{^}}#pragma once{{$}}
-// CHECK-NEXT: {{^}}#endif /* expanded by -frewrite-includes */{{$}}
-// CHECK-NEXT: {{^}}# 2 "{{.*[/\\]Inputs(/|\\\\)}}rewrite-includes6.h"{{$}}
-// CHECK-NEXT: {{^}}included_line6{{$}}
-// CHECK-NEXT: {{^}}# 17 "{{.*}}rewrite-includes.c" 2{{$}}
-// CHECK-NEXT: {{^}} {{$}}
-// CHECK-NEXT: {{^}}#if 0 /* expanded by -frewrite-includes */{{$}}
-// CHECK-NEXT: {{^}}#include "rewrite-includes6.h" /* comment{{$}}
-// CHECK-NEXT: {{^}} continues */{{$}}
-// CHECK-NEXT: {{^}}#endif /* expanded by -frewrite-includes */{{$}}
-// CHECK-NEXT: {{^}}# 19 "{{.*}}rewrite-includes.c"{{$}}
-// CHECK-NEXT: {{^}}# 20 "{{.*}}rewrite-includes.c"{{$}}
-// CHECK-NEXT: {{^}}#if 0 /* expanded by -frewrite-includes */{{$}}
-// CHECK-NEXT: {{^}}#include "rewrite-includes7.h"{{$}}
-// CHECK-NEXT: {{^}}#endif /* expanded by -frewrite-includes */{{$}}
-// CHECK-NEXT: {{^}}# 20 "{{.*}}rewrite-includes.c"{{$}}
-// CHECK-NEXT: {{^}}# 1 "{{.*[/\\]Inputs(/|\\\\)}}rewrite-includes7.h" 1{{$}}
-// CHECK-NEXT: {{^}}#ifndef REWRITE_INCLUDES_7{{$}}
-// CHECK-NEXT: {{^}}#define REWRITE_INCLUDES_7{{$}}
-// CHECK-NEXT: {{^}}included_line7{{$}}
-// CHECK-NEXT: {{^}}#endif{{$}}
-// CHECK-NEXT: {{^}}# 5 "{{.*[/\\]Inputs(/|\\\\)}}rewrite-includes7.h"{{$}}
-// CHECK-NEXT: {{^}}# 21 "{{.*}}rewrite-includes.c" 2{{$}}
-// CHECK-NEXT: {{^}}#if 0 /* expanded by -frewrite-includes */{{$}}
-// CHECK-NEXT: {{^}}#include "rewrite-includes7.h"{{$}}
-// CHECK-NEXT: {{^}}#endif /* expanded by -frewrite-includes */{{$}}
-// CHECK-NEXT: {{^}}# 21 "{{.*}}rewrite-includes.c"{{$}}
-// CHECK-NEXT: {{^}}# 22 "{{.*}}rewrite-includes.c"{{$}}
-// CHECK-NEXT: {{^}}#if 0 /* expanded by -frewrite-includes */{{$}}
-// CHECK-NEXT: {{^}}#include "rewrite-includes8.h"{{$}}
-// CHECK-NEXT: {{^}}#endif /* expanded by -frewrite-includes */{{$}}
-// CHECK-NEXT: {{^}}# 22 "{{.*}}rewrite-includes.c"{{$}}
-// CHECK-NEXT: {{^}}# 1 "{{.*[/\\]Inputs(/|\\\\)}}rewrite-includes8.h" 1{{$}}
-// CHECK-NEXT: {{^}}#if (1)/*__has_include_next(<rewrite-includes8.h>)*/{{$}}
-// CHECK-NEXT: {{^}}#elif (0)/*__has_include(<rewrite-includes8.hfail>)*/{{$}}
-// CHECK-NEXT: {{^}}# 3 "{{.*[/\\]Inputs(/|\\\\)}}rewrite-includes8.h"{{$}}
-// CHECK-NEXT: {{^}}#endif{{$}}
-// CHECK-NEXT: {{^}}# 4 "{{.*[/\\]Inputs(/|\\\\)}}rewrite-includes8.h"{{$}}
-// CHECK-NEXT: {{^}}#if !(1)/*__has_include("rewrite-includes8.h")*/{{$}}
-// CHECK-NEXT: {{^}}#endif{{$}}
-// CHECK-NEXT: {{^}}# 6 "{{.*[/\\]Inputs(/|\\\\)}}rewrite-includes8.h"{{$}}
-// CHECK-NEXT: {{^}}# 23 "{{.*}}rewrite-includes.c" 2{{$}}
-// CHECK-NEXT: {{^}}// ENDCOMPARE{{$}}
-
-// CHECKNL: {{^}}// STARTCOMPARE{{$}}
-// CHECKNL-NEXT: {{^}}#define A(a,b) a ## b{{$}}
-// CHECKNL-NEXT: {{^}}A(1,2){{$}}
-// CHECKNL-NEXT: {{^}}#if 0 /* expanded by -frewrite-includes */{{$}}
-// CHECKNL-NEXT: {{^}}#include "rewrite-includes1.h"{{$}}
-// CHECKNL-NEXT: {{^}}#endif /* expanded by -frewrite-includes */{{$}}
-// CHECKNL-NEXT: {{^}}#if 0 /* expanded by -frewrite-includes */{{$}}
-// CHECKNL-NEXT: {{^}}#pragma clang system_header{{$}}
-// CHECKNL-NEXT: {{^}}#endif /* expanded by -frewrite-includes */{{$}}
-// CHECKNL-NEXT: {{^}}included_line1{{$}}
-// CHECKNL-NEXT: {{^}}#if 0 /* expanded by -frewrite-includes */{{$}}
-// CHECKNL-NEXT: {{^}}#include "rewrite-includes2.h"{{$}}
-// CHECKNL-NEXT: {{^}}#endif /* expanded by -frewrite-includes */{{$}}
-// CHECKNL-NEXT: {{^}}included_line2{{$}}
-// CHECKNL-NEXT: {{^}}#ifdef FIRST{{$}}
-// CHECKNL-NEXT: {{^}}#define HEADER "rewrite-includes3.h"{{$}}
-// CHECKNL-NEXT: {{^}}#if 0 /* expanded by -frewrite-includes */{{$}}
-// CHECKNL-NEXT: {{^}}#include HEADER{{$}}
-// CHECKNL-NEXT: {{^}}#endif /* expanded by -frewrite-includes */{{$}}
-// CHECKNL-NEXT: {{^}}included_line3{{$}}
-// CHECKNL-NEXT: {{^}}#else{{$}}
-// CHECKNL-NEXT: {{^}}#if 0 /* expanded by -frewrite-includes */{{$}}
-// CHECKNL-NEXT: {{^}}#include "rewrite-includes4.h"{{$}}
-// CHECKNL-NEXT: {{^}}#endif /* expanded by -frewrite-includes */{{$}}
-// CHECKNL-NEXT: {{^}}#endif{{$}}
-// CHECKNL-NEXT: {{^}} // indented{{$}}
-// CHECKNL-NEXT: {{^}}#if 0 /* expanded by -frewrite-includes */{{$}}
-// CHECKNL-NEXT: {{^}}#/**/include /**/ "rewrite-includes5.h" /**/ {{\\}}{{$}}
-// CHECKNL-NEXT: {{^}} {{$}}
-// CHECKNL-NEXT: {{^}}#endif /* expanded by -frewrite-includes */{{$}}
-// CHECKNL-NEXT: {{^}}included_line5{{$}}
-// CHECKNL-NEXT: {{^}}#if 0 /* expanded by -frewrite-includes */{{$}}
-// CHECKNL-NEXT: {{^}}#include "rewrite-includes6.h" // comment{{$}}
-// CHECKNL-NEXT: {{^}}#endif /* expanded by -frewrite-includes */{{$}}
-// CHECKNL-NEXT: {{^}}#if 0 /* expanded by -frewrite-includes */{{$}}
-// CHECKNL-NEXT: {{^}}#pragma once{{$}}
-// CHECKNL-NEXT: {{^}}#endif /* expanded by -frewrite-includes */{{$}}
-// CHECKNL-NEXT: {{^}}included_line6{{$}}
-// CHECKNL-NEXT: {{^}} {{$}}
-// CHECKNL-NEXT: {{^}}#if 0 /* expanded by -frewrite-includes */{{$}}
-// CHECKNL-NEXT: {{^}}#include "rewrite-includes6.h" /* comment{{$}}
-// CHECKNL-NEXT: {{^}} continues */{{$}}
-// CHECKNL-NEXT: {{^}}#endif /* expanded by -frewrite-includes */{{$}}
-// CHECKNL-NEXT: {{^}}#if 0 /* expanded by -frewrite-includes */{{$}}
-// CHECKNL-NEXT: {{^}}#include "rewrite-includes7.h"{{$}}
-// CHECKNL-NEXT: {{^}}#endif /* expanded by -frewrite-includes */{{$}}
-// CHECKNL-NEXT: {{^}}#ifndef REWRITE_INCLUDES_7{{$}}
-// CHECKNL-NEXT: {{^}}#define REWRITE_INCLUDES_7{{$}}
-// CHECKNL-NEXT: {{^}}included_line7{{$}}
-// CHECKNL-NEXT: {{^}}#endif{{$}}
-// CHECKNL-NEXT: {{^}}#if 0 /* expanded by -frewrite-includes */{{$}}
-// CHECKNL-NEXT: {{^}}#include "rewrite-includes7.h"{{$}}
-// CHECKNL-NEXT: {{^}}#endif /* expanded by -frewrite-includes */{{$}}
-// CHECKNL-NEXT: {{^}}#if 0 /* expanded by -frewrite-includes */{{$}}
-// CHECKNL-NEXT: {{^}}#include "rewrite-includes8.h"{{$}}
-// CHECKNL-NEXT: {{^}}#endif /* expanded by -frewrite-includes */{{$}}
-// CHECKNL-NEXT: {{^}}#if (1)/*__has_include_next(<rewrite-includes8.h>)*/{{$}}
-// CHECKNL-NEXT: {{^}}#elif (0)/*__has_include(<rewrite-includes8.hfail>)*/{{$}}
-// CHECKNL-NEXT: {{^}}#endif{{$}}
-// CHECKNL-NEXT: {{^}}#if !(1)/*__has_include("rewrite-includes8.h")*/{{$}}
-// CHECKNL-NEXT: {{^}}#endif{{$}}
-// CHECKNL-NEXT: {{^}}// ENDCOMPARE{{$}}
Removed: cfe/trunk/test/Frontend/rewrite-macros.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/rewrite-macros.c?rev=213145&view=auto
==============================================================================
--- cfe/trunk/test/Frontend/rewrite-macros.c (original)
+++ cfe/trunk/test/Frontend/rewrite-macros.c (removed)
@@ -1,19 +0,0 @@
-// RUN: %clang_cc1 %s -verify -rewrite-macros -o %t
-// RUN: FileCheck %s < %t
-
-// Any CHECK line comments are included in the output, so we use some extra
-// regex brackets to make sure we don't match the CHECK lines themselves.
-
-#define A(a,b) a ## b
-
-// CHECK: {{^}} 12 /*A*/ /*(1,2)*/{{$}}
-A(1,2)
-
-// CHECK: {{^}} /*_Pragma("mark")*/{{$}}
-_Pragma("mark")
-
-// CHECK: /*#warning eek*/{{$}}
-/* expected-warning {{eek}} */ #warning eek
-
-// CHECK: {{^}}//#pragma mark mark{{$}}
-#pragma mark mark
More information about the cfe-commits
mailing list