mibintc updated this revision to Diff 120584. mibintc added a comment. Updated the test diff to correspond to the https://reviews.llvm.org/D34158 patch uploaded today.
https://reviews.llvm.org/D34624 Files: test/pp-trace/pp-trace-pragma-general.cpp test/pp-trace/pp-trace-pragma-opencl.cpp Index: test/pp-trace/pp-trace-pragma-opencl.cpp =================================================================== --- test/pp-trace/pp-trace-pragma-opencl.cpp +++ 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 Index: test/pp-trace/pp-trace-pragma-general.cpp =================================================================== --- test/pp-trace/pp-trace-pragma-general.cpp +++ 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
Index: test/pp-trace/pp-trace-pragma-opencl.cpp =================================================================== --- test/pp-trace/pp-trace-pragma-opencl.cpp +++ 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 Index: test/pp-trace/pp-trace-pragma-general.cpp =================================================================== --- test/pp-trace/pp-trace-pragma-general.cpp +++ 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
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits