diff options
author | Edwin Vane <edwin.vane@intel.com> | 2013-01-04 18:25:18 +0000 |
---|---|---|
committer | Edwin Vane <edwin.vane@intel.com> | 2013-01-04 18:25:18 +0000 |
commit | 2f29317a9d41ff6e822b0bea89d350e7699087ba (patch) | |
tree | 860a34654dda80b0c13a948fa2307116363c71f1 /test | |
parent | a182afe5b90c9e4fb1cf3bbe8de65191ac84b205 (diff) |
Port loop-convert into cpp11-migrate
Took existing code from loop-convert tool and made it into a cpp11-migrate
transform. Pattern now set for having transform code in subdirectories. Related
changes:
- Makefile and CMakeLists.txt updated to support source files in
subdirectories.
- At least one transform must be specified. syntax-only tests removed to
reflect this.
- TODO: port over loop-convert tests.
Reviewers: klimek, silvas
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@171481 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/cpp11-migrate/no_xform.cpp (renamed from test/cpp11-migrate/syntax_only.cpp) | 1 | ||||
-rw-r--r-- | test/cpp11-migrate/syntax_xfail.cpp | 8 |
2 files changed, 1 insertions, 8 deletions
diff --git a/test/cpp11-migrate/syntax_only.cpp b/test/cpp11-migrate/no_xform.cpp index eaceb357..97a68762 100644 --- a/test/cpp11-migrate/syntax_only.cpp +++ b/test/cpp11-migrate/no_xform.cpp @@ -1,5 +1,6 @@ // RUN: grep -Ev "// *[A-Z-]+:" %s > %t.cpp // RUN: cpp11-migrate %t.cpp -- +// XFAIL: * // REQUIRES: shell int main(int argc, char** argv) { diff --git a/test/cpp11-migrate/syntax_xfail.cpp b/test/cpp11-migrate/syntax_xfail.cpp deleted file mode 100644 index 0c5c652a..00000000 --- a/test/cpp11-migrate/syntax_xfail.cpp +++ /dev/null @@ -1,8 +0,0 @@ -// RUN: grep -Ev "// *[A-Z-]+:" %s > %t.cpp -// RUN: cpp11-migrate %t.cpp -- -// XFAIL: * -// REQUIRES: shell - -int main(int argc, char** argv) { -i return 0; -} |