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 -- -- -isystem %S/Inputs/Headers -ffreestanding // CHECK-MESSAGES: [[@LINE+2]]:1: warning: #includes are not sorted properly #include "j.h" 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-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-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-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-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-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-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