diff options
| author | Erich Keane <erich.keane@intel.com> | 2017-11-20 17:57:20 +0000 |
|---|---|---|
| committer | Erich Keane <erich.keane@intel.com> | 2017-11-20 17:57:20 +0000 |
| commit | 991447d6f892f4763347528290093c10806ece74 (patch) | |
| tree | 0a3f3006353c3c625c7160c173bf430439a4be68 | |
| parent | 59ad15093932e111dd0ec00a96161f5e0da83508 (diff) | |
| download | bcm5719-llvm-991447d6f892f4763347528290093c10806ece74.tar.gz bcm5719-llvm-991447d6f892f4763347528290093c10806ece74.zip | |
extra test modifications for D34158
When adding support for D34158 which changes preprocessed output, I needed to
make tiny test corrections for these. Adding the option -ffreestanding
suppresses the new behavior, and that's the change I made to fix the tests.
Patch By: mibintc
Differential Revision: https://reviews.llvm.org/D34624
llvm-svn: 318668
| -rw-r--r-- | clang-tools-extra/test/pp-trace/pp-trace-pragma-general.cpp | 2 | ||||
| -rw-r--r-- | clang-tools-extra/test/pp-trace/pp-trace-pragma-opencl.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/clang-tools-extra/test/pp-trace/pp-trace-pragma-general.cpp b/clang-tools-extra/test/pp-trace/pp-trace-pragma-general.cpp index 6caef0b6074..88f1af62351 100644 --- a/clang-tools-extra/test/pp-trace/pp-trace-pragma-general.cpp +++ b/clang-tools-extra/test/pp-trace/pp-trace-pragma-general.cpp @@ -1,4 +1,4 @@ -// RUN: pp-trace -ignore FileChanged,MacroDefined %s | FileCheck --strict-whitespace %s +// RUN: pp-trace -ignore FileChanged,MacroDefined %s -ffreestanding | FileCheck --strict-whitespace %s #pragma clang diagnostic push #pragma clang diagnostic pop diff --git a/clang-tools-extra/test/pp-trace/pp-trace-pragma-opencl.cpp b/clang-tools-extra/test/pp-trace/pp-trace-pragma-opencl.cpp index cfd72c0d464..ad3ed84d2f5 100644 --- a/clang-tools-extra/test/pp-trace/pp-trace-pragma-opencl.cpp +++ b/clang-tools-extra/test/pp-trace/pp-trace-pragma-opencl.cpp @@ -1,4 +1,4 @@ -// RUN: pp-trace -ignore FileChanged,MacroDefined %s -x cl | FileCheck --strict-whitespace %s +// RUN: pp-trace -ignore FileChanged,MacroDefined %s -ffreestanding -x cl | FileCheck --strict-whitespace %s #pragma OPENCL EXTENSION all : disable #pragma OPENCL EXTENSION cl_khr_int64_base_atomics : disable |

