[PATCH] D34624: extra test modifications for D34158

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 20 09:59:14 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL318668: extra test modifications for D34158 (authored by erichkeane).

Changed prior to commit:
  https://reviews.llvm.org/D34624?vs=120584&id=123612#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D34624

Files:
  clang-tools-extra/trunk/test/pp-trace/pp-trace-pragma-general.cpp
  clang-tools-extra/trunk/test/pp-trace/pp-trace-pragma-opencl.cpp


Index: clang-tools-extra/trunk/test/pp-trace/pp-trace-pragma-opencl.cpp
===================================================================
--- clang-tools-extra/trunk/test/pp-trace/pp-trace-pragma-opencl.cpp
+++ clang-tools-extra/trunk/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: clang-tools-extra/trunk/test/pp-trace/pp-trace-pragma-general.cpp
===================================================================
--- clang-tools-extra/trunk/test/pp-trace/pp-trace-pragma-general.cpp
+++ clang-tools-extra/trunk/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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34624.123612.patch
Type: text/x-patch
Size: 1156 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171120/a3258802/attachment.bin>


More information about the cfe-commits mailing list