[PATCH] D34624: extra test modifications for D34158
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=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 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 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[PATCH] D34624: extra test modifications for D34158
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
[PATCH] D34624: extra test modifications for D34158
mibintc updated this revision to Diff 114887. mibintc added a comment. Updating to latest version. No change other than that. https://reviews.llvm.org/D34624 Files: test/clang-tidy/llvm-include-order.cpp test/pp-trace/pp-trace-conditional.cpp test/pp-trace/pp-trace-ident.cpp test/pp-trace/pp-trace-include.cpp test/pp-trace/pp-trace-macro.cpp test/pp-trace/pp-trace-modules.cpp test/pp-trace/pp-trace-pragma-general.cpp test/pp-trace/pp-trace-pragma-ms.cpp test/pp-trace/pp-trace-pragma-opencl.cpp Index: test/pp-trace/pp-trace-pragma-ms.cpp === --- test/pp-trace/pp-trace-pragma-ms.cpp +++ test/pp-trace/pp-trace-pragma-ms.cpp @@ -1,4 +1,4 @@ -// RUN: pp-trace -ignore FileChanged,MacroDefined %s -target x86_64 -fms-extensions -w | FileCheck --strict-whitespace %s +// RUN: pp-trace -ignore FileChanged,MacroDefined %s -target x86_64 -fms-extensions -w -ffreestanding | FileCheck --strict-whitespace %s #pragma comment(compiler, "compiler comment") #pragma comment(exestr, "exestr comment") Index: test/pp-trace/pp-trace-include.cpp === --- test/pp-trace/pp-trace-include.cpp +++ test/pp-trace/pp-trace-include.cpp @@ -1,4 +1,4 @@ -// RUN: pp-trace %s -undef -target x86_64 -std=c++11 | FileCheck --strict-whitespace %s +// RUN: pp-trace %s -undef -ffreestanding -target x86_64 -std=c++11 | FileCheck --strict-whitespace %s #include "Inputs/Level1A.h" #include "Inputs/Level1B.h" Index: test/pp-trace/pp-trace-ident.cpp === --- test/pp-trace/pp-trace-ident.cpp +++ test/pp-trace/pp-trace-ident.cpp @@ -1,4 +1,4 @@ -// RUN: pp-trace -ignore FileChanged,MacroDefined %s -undef -target x86_64 -std=c++11 | FileCheck --strict-whitespace %s +// RUN: pp-trace -ignore FileChanged,MacroDefined %s -undef -ffreestanding -target x86_64 -std=c++11 | FileCheck --strict-whitespace %s #ident "$Id$" Index: test/pp-trace/pp-trace-conditional.cpp === --- test/pp-trace/pp-trace-conditional.cpp +++ test/pp-trace/pp-trace-conditional.cpp @@ -1,4 +1,4 @@ -// RUN: pp-trace -ignore FileChanged %s -undef -target x86_64 -std=c++11 | FileCheck --strict-whitespace %s +// RUN: pp-trace -ignore FileChanged %s -ffreestanding -undef -target x86_64 -std=c++11 | FileCheck --strict-whitespace %s #if 1 #endif 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-macro.cpp === --- test/pp-trace/pp-trace-macro.cpp +++ test/pp-trace/pp-trace-macro.cpp @@ -1,4 +1,4 @@ -// RUN: pp-trace -ignore FileChanged %s -undef -target x86_64 -std=c++11 | FileCheck --strict-whitespace %s +// RUN: pp-trace -ignore FileChanged %s -undef -ffreestanding -target x86_64 -std=c++11 | FileCheck --strict-whitespace %s #define MACRO 1 int i = MACRO; Index: test/pp-trace/pp-trace-modules.cpp === --- test/pp-trace/pp-trace-modules.cpp +++ test/pp-trace/pp-trace-modules.cpp @@ -1,5 +1,5 @@ // RUN: rm -rf %t -// RUN: pp-trace -ignore FileChanged,MacroDefined %s -x objective-c++ -undef -target x86_64 -std=c++11 -fmodules -fcxx-modules -fmodules-cache-path=%t -I%S -I%S/Input | FileCheck --strict-whitespace %s +// RUN: pp-trace -ignore FileChanged,MacroDefined %s -x objective-c++ -undef -ffreestanding -target x86_64 -std=c++11 -fmodules -fcxx-modules -fmodules-cache-path=%t -I%S -I%S/Input | FileCheck --strict-whitespace %s // CHECK: --- 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/clang-tidy/llvm-include-order.cpp === --- test/clang-tidy/llvm-include-order.cpp +++ test/clang-tidy/llvm-include-order.cpp @@ -1,4 +1,4 @@ -// RUN: %check_clang_tidy %s llvm-include-order %t -- -- -isystem %S/Inputs/Headers +// RUN: %check_clang_tidy %s llvm-include-order %t
[PATCH] D34624: extra test modifications for D34158
mibintc updated this revision to Diff 110059. mibintc added a comment. Updating this patch to latest revision of tools/extra https://reviews.llvm.org/D34624 Files: test/clang-tidy/llvm-include-order.cpp test/pp-trace/pp-trace-conditional.cpp test/pp-trace/pp-trace-ident.cpp test/pp-trace/pp-trace-include.cpp test/pp-trace/pp-trace-macro.cpp test/pp-trace/pp-trace-modules.cpp test/pp-trace/pp-trace-pragma-general.cpp test/pp-trace/pp-trace-pragma-ms.cpp test/pp-trace/pp-trace-pragma-opencl.cpp Index: test/pp-trace/pp-trace-pragma-ms.cpp === --- test/pp-trace/pp-trace-pragma-ms.cpp +++ test/pp-trace/pp-trace-pragma-ms.cpp @@ -1,4 +1,4 @@ -// RUN: pp-trace -ignore FileChanged,MacroDefined %s -target x86_64 -fms-extensions -w | FileCheck --strict-whitespace %s +// RUN: pp-trace -ignore FileChanged,MacroDefined %s -target x86_64 -fms-extensions -w -ffreestanding | FileCheck --strict-whitespace %s #pragma comment(compiler, "compiler comment") #pragma comment(exestr, "exestr comment") Index: test/pp-trace/pp-trace-include.cpp === --- test/pp-trace/pp-trace-include.cpp +++ test/pp-trace/pp-trace-include.cpp @@ -1,4 +1,4 @@ -// RUN: pp-trace %s -undef -target x86_64 -std=c++11 | FileCheck --strict-whitespace %s +// RUN: pp-trace %s -undef -ffreestanding -target x86_64 -std=c++11 | FileCheck --strict-whitespace %s #include "Inputs/Level1A.h" #include "Inputs/Level1B.h" Index: test/pp-trace/pp-trace-ident.cpp === --- test/pp-trace/pp-trace-ident.cpp +++ test/pp-trace/pp-trace-ident.cpp @@ -1,4 +1,4 @@ -// RUN: pp-trace -ignore FileChanged,MacroDefined %s -undef -target x86_64 -std=c++11 | FileCheck --strict-whitespace %s +// RUN: pp-trace -ignore FileChanged,MacroDefined %s -undef -ffreestanding -target x86_64 -std=c++11 | FileCheck --strict-whitespace %s #ident "$Id$" Index: test/pp-trace/pp-trace-conditional.cpp === --- test/pp-trace/pp-trace-conditional.cpp +++ test/pp-trace/pp-trace-conditional.cpp @@ -1,4 +1,4 @@ -// RUN: pp-trace -ignore FileChanged %s -undef -target x86_64 -std=c++11 | FileCheck --strict-whitespace %s +// RUN: pp-trace -ignore FileChanged %s -ffreestanding -undef -target x86_64 -std=c++11 | FileCheck --strict-whitespace %s #if 1 #endif 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-macro.cpp === --- test/pp-trace/pp-trace-macro.cpp +++ test/pp-trace/pp-trace-macro.cpp @@ -1,4 +1,4 @@ -// RUN: pp-trace -ignore FileChanged %s -undef -target x86_64 -std=c++11 | FileCheck --strict-whitespace %s +// RUN: pp-trace -ignore FileChanged %s -undef -ffreestanding -target x86_64 -std=c++11 | FileCheck --strict-whitespace %s #define MACRO 1 int i = MACRO; Index: test/pp-trace/pp-trace-modules.cpp === --- test/pp-trace/pp-trace-modules.cpp +++ test/pp-trace/pp-trace-modules.cpp @@ -1,5 +1,5 @@ // RUN: rm -rf %t -// RUN: pp-trace -ignore FileChanged,MacroDefined %s -x objective-c++ -undef -target x86_64 -std=c++11 -fmodules -fcxx-modules -fmodules-cache-path=%t -I%S -I%S/Input | FileCheck --strict-whitespace %s +// RUN: pp-trace -ignore FileChanged,MacroDefined %s -x objective-c++ -undef -ffreestanding -target x86_64 -std=c++11 -fmodules -fcxx-modules -fmodules-cache-path=%t -I%S -I%S/Input | FileCheck --strict-whitespace %s // CHECK: --- 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/clang-tidy/llvm-include-order.cpp === --- test/clang-tidy/llvm-include-order.cpp +++ test/clang-tidy/llvm-include-order.cpp @@ -1,4 +1,4 @@ -// RUN: %check_clang_tidy %s llvm-include-order %t -- -- -isystem %S/Inputs/Headers +// RUN: %check_clang_tidy %s llvm-include-order %t
[PATCH] D34624: extra test modifications for D34158
mibintc updated this revision to Diff 105906. mibintc edited the summary of this revision. mibintc added a comment. This patch corresponds to these modifications to clang: https://reviews.llvm.org/D34158?id=105904 Repository: rL LLVM https://reviews.llvm.org/D34624 Files: test/clang-tidy/llvm-include-order.cpp test/pp-trace/pp-trace-conditional.cpp test/pp-trace/pp-trace-ident.cpp test/pp-trace/pp-trace-include.cpp test/pp-trace/pp-trace-macro.cpp test/pp-trace/pp-trace-modules.cpp test/pp-trace/pp-trace-pragma-general.cpp test/pp-trace/pp-trace-pragma-ms.cpp test/pp-trace/pp-trace-pragma-opencl.cpp Index: test/pp-trace/pp-trace-pragma-ms.cpp === --- test/pp-trace/pp-trace-pragma-ms.cpp +++ test/pp-trace/pp-trace-pragma-ms.cpp @@ -1,4 +1,4 @@ -// RUN: pp-trace -ignore FileChanged,MacroDefined %s -target x86_64 -fms-extensions -w | FileCheck --strict-whitespace %s +// RUN: pp-trace -ignore FileChanged,MacroDefined %s -target x86_64 -fms-extensions -w -ffreestanding | FileCheck --strict-whitespace %s #pragma comment(compiler, "compiler comment") #pragma comment(exestr, "exestr comment") Index: test/pp-trace/pp-trace-include.cpp === --- test/pp-trace/pp-trace-include.cpp +++ test/pp-trace/pp-trace-include.cpp @@ -1,4 +1,4 @@ -// RUN: pp-trace %s -undef -target x86_64 -std=c++11 | FileCheck --strict-whitespace %s +// RUN: pp-trace %s -undef -ffreestanding -target x86_64 -std=c++11 | FileCheck --strict-whitespace %s #include "Inputs/Level1A.h" #include "Inputs/Level1B.h" Index: test/pp-trace/pp-trace-ident.cpp === --- test/pp-trace/pp-trace-ident.cpp +++ test/pp-trace/pp-trace-ident.cpp @@ -1,4 +1,4 @@ -// RUN: pp-trace -ignore FileChanged,MacroDefined %s -undef -target x86_64 -std=c++11 | FileCheck --strict-whitespace %s +// RUN: pp-trace -ignore FileChanged,MacroDefined %s -undef -ffreestanding -target x86_64 -std=c++11 | FileCheck --strict-whitespace %s #ident "$Id$" Index: test/pp-trace/pp-trace-conditional.cpp === --- test/pp-trace/pp-trace-conditional.cpp +++ test/pp-trace/pp-trace-conditional.cpp @@ -1,4 +1,4 @@ -// RUN: pp-trace -ignore FileChanged %s -undef -target x86_64 -std=c++11 | FileCheck --strict-whitespace %s +// RUN: pp-trace -ignore FileChanged %s -ffreestanding -undef -target x86_64 -std=c++11 | FileCheck --strict-whitespace %s #if 1 #endif 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-macro.cpp === --- test/pp-trace/pp-trace-macro.cpp +++ test/pp-trace/pp-trace-macro.cpp @@ -1,4 +1,4 @@ -// RUN: pp-trace -ignore FileChanged %s -undef -target x86_64 -std=c++11 | FileCheck --strict-whitespace %s +// RUN: pp-trace -ignore FileChanged %s -undef -ffreestanding -target x86_64 -std=c++11 | FileCheck --strict-whitespace %s #define MACRO 1 int i = MACRO; Index: test/pp-trace/pp-trace-modules.cpp === --- test/pp-trace/pp-trace-modules.cpp +++ test/pp-trace/pp-trace-modules.cpp @@ -1,5 +1,5 @@ // RUN: rm -rf %t -// RUN: pp-trace -ignore FileChanged,MacroDefined %s -x objective-c++ -undef -target x86_64 -std=c++11 -fmodules -fcxx-modules -fmodules-cache-path=%t -I%S -I%S/Input | FileCheck --strict-whitespace %s +// RUN: pp-trace -ignore FileChanged,MacroDefined %s -x objective-c++ -undef -ffreestanding -target x86_64 -std=c++11 -fmodules -fcxx-modules -fmodules-cache-path=%t -I%S -I%S/Input | FileCheck --strict-whitespace %s // CHECK: --- 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/clang-tidy/llvm-include-order.cpp === --- test/clang-tidy/llvm-include-order.cpp +++ test/clang-tidy/llvm-include-order.cpp @@ -1,4 +1,4 @@ -// RUN: %check_clang_tidy
[PATCH] D34624: extra test modifications for D34158
mibintc planned changes to this revision. mibintc added a comment. I need to redo the test changes. Will resubmit the diff. https://reviews.llvm.org/D34624 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[PATCH] D34624: extra test modifications for D34158
mibintc updated this revision to Diff 105852. mibintc added a comment. With the latest proposed fix for https://reviews.llvm.org/D34158, a few more test corrections are needed. The correction consists of suppressing the new preprocessor behavior. https://reviews.llvm.org/D34158 preincludes the file if the file is available. https://reviews.llvm.org/D34624 Files: test/clang-tidy/llvm-include-order.cpp test/clang-tidy/misc-move-constructor-init.cpp test/clang-tidy/misc-unconventional-assign-operator.cpp test/clang-tidy/misc-unused-using-decls.cpp test/clang-tidy/modernize-deprecated-headers-cxx03.cpp test/clang-tidy/modernize-deprecated-headers-cxx11.cpp test/clang-tidy/modernize-pass-by-value-macro-header.cpp test/clang-tidy/readability-identifier-naming.cpp test/pp-trace/pp-trace-conditional.cpp test/pp-trace/pp-trace-ident.cpp test/pp-trace/pp-trace-include.cpp test/pp-trace/pp-trace-macro.cpp test/pp-trace/pp-trace-modules.cpp test/pp-trace/pp-trace-pragma-general.cpp test/pp-trace/pp-trace-pragma-ms.cpp test/pp-trace/pp-trace-pragma-opencl.cpp Index: test/pp-trace/pp-trace-pragma-ms.cpp === --- test/pp-trace/pp-trace-pragma-ms.cpp +++ test/pp-trace/pp-trace-pragma-ms.cpp @@ -1,4 +1,4 @@ -// RUN: pp-trace -ignore FileChanged,MacroDefined %s -target x86_64 -fms-extensions -w | FileCheck --strict-whitespace %s +// RUN: pp-trace -ignore FileChanged,MacroDefined %s -target x86_64 -fms-extensions -w -ffreestanding | FileCheck --strict-whitespace %s #pragma comment(compiler, "compiler comment") #pragma comment(exestr, "exestr comment") Index: test/pp-trace/pp-trace-include.cpp === --- test/pp-trace/pp-trace-include.cpp +++ test/pp-trace/pp-trace-include.cpp @@ -1,4 +1,4 @@ -// RUN: pp-trace %s -undef -target x86_64 -std=c++11 | FileCheck --strict-whitespace %s +// RUN: pp-trace %s -undef -ffreestanding -target x86_64 -std=c++11 | FileCheck --strict-whitespace %s #include "Inputs/Level1A.h" #include "Inputs/Level1B.h" Index: test/pp-trace/pp-trace-ident.cpp === --- test/pp-trace/pp-trace-ident.cpp +++ test/pp-trace/pp-trace-ident.cpp @@ -1,4 +1,4 @@ -// RUN: pp-trace -ignore FileChanged,MacroDefined %s -undef -target x86_64 -std=c++11 | FileCheck --strict-whitespace %s +// RUN: pp-trace -ignore FileChanged,MacroDefined %s -undef -ffreestanding -target x86_64 -std=c++11 | FileCheck --strict-whitespace %s #ident "$Id$" Index: test/pp-trace/pp-trace-conditional.cpp === --- test/pp-trace/pp-trace-conditional.cpp +++ test/pp-trace/pp-trace-conditional.cpp @@ -1,4 +1,4 @@ -// RUN: pp-trace -ignore FileChanged %s -undef -target x86_64 -std=c++11 | FileCheck --strict-whitespace %s +// RUN: pp-trace -ignore FileChanged %s -ffreestanding -undef -target x86_64 -std=c++11 | FileCheck --strict-whitespace %s #if 1 #endif 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-macro.cpp === --- test/pp-trace/pp-trace-macro.cpp +++ test/pp-trace/pp-trace-macro.cpp @@ -1,4 +1,4 @@ -// RUN: pp-trace -ignore FileChanged %s -undef -target x86_64 -std=c++11 | FileCheck --strict-whitespace %s +// RUN: pp-trace -ignore FileChanged %s -undef -ffreestanding -target x86_64 -std=c++11 | FileCheck --strict-whitespace %s #define MACRO 1 int i = MACRO; Index: test/pp-trace/pp-trace-modules.cpp === --- test/pp-trace/pp-trace-modules.cpp +++ test/pp-trace/pp-trace-modules.cpp @@ -1,5 +1,5 @@ // RUN: rm -rf %t -// RUN: pp-trace -ignore FileChanged,MacroDefined %s -x objective-c++ -undef -target x86_64 -std=c++11 -fmodules -fcxx-modules -fmodules-cache-path=%t -I%S -I%S/Input | FileCheck --strict-whitespace %s +// RUN: pp-trace -ignore FileChanged,MacroDefined %s -x objective-c++ -undef -ffreestanding -target x86_64 -std=c++11 -fmodules -fcxx-modules -fmodules-cache-path=%t -I%S -I%S/Input | FileCheck --strict-whitespace %s // CHECK: --- 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 +//