Index: tools/extra/test/clang-tidy/llvm-include-order.cpp =================================================================== --- tools/extra/test/clang-tidy/llvm-include-order.cpp +++ tools/extra/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 -nostdinc // CHECK-MESSAGES: [[@LINE+2]]:1: warning: #includes are not sorted properly #include "j.h" Index: tools/extra/test/clang-tidy/misc-move-constructor-init.cpp =================================================================== --- tools/extra/test/clang-tidy/misc-move-constructor-init.cpp +++ tools/extra/test/clang-tidy/misc-move-constructor-init.cpp @@ -1,7 +1,7 @@ // RUN: %check_clang_tidy %s misc-move-constructor-init,modernize-pass-by-value %t -- \ // RUN: -config='{CheckOptions: \ // RUN: [{key: modernize-pass-by-value.ValuesOnly, value: 1}]}' \ -// RUN: -- -std=c++11 -isystem %S/Inputs/Headers +// RUN: -- -std=c++11 -isystem %S/Inputs/Headers -nostdinc #include Index: tools/extra/test/clang-tidy/misc-unconventional-assign-operator.cpp =================================================================== --- tools/extra/test/clang-tidy/misc-unconventional-assign-operator.cpp +++ tools/extra/test/clang-tidy/misc-unconventional-assign-operator.cpp @@ -1,4 +1,4 @@ -// RUN: %check_clang_tidy %s misc-unconventional-assign-operator %t -- -- -std=c++11 -isystem %S/Inputs/Headers -fno-delayed-template-parsing +// RUN: %check_clang_tidy %s misc-unconventional-assign-operator %t -- -- -std=c++11 -isystem %S/Inputs/Headers -fno-delayed-template-parsing -nostdinc namespace std { template Index: tools/extra/test/clang-tidy/misc-unused-using-decls.cpp =================================================================== --- tools/extra/test/clang-tidy/misc-unused-using-decls.cpp +++ tools/extra/test/clang-tidy/misc-unused-using-decls.cpp @@ -1,4 +1,4 @@ -// RUN: %check_clang_tidy %s misc-unused-using-decls %t -- -- -fno-delayed-template-parsing -isystem %S/Inputs/ +// RUN: %check_clang_tidy %s misc-unused-using-decls %t -- -- -fno-delayed-template-parsing -isystem %S/Inputs/ -nostdinc // ----- Definitions ----- Index: tools/extra/test/clang-tidy/modernize-deprecated-headers-cxx03.cpp =================================================================== --- tools/extra/test/clang-tidy/modernize-deprecated-headers-cxx03.cpp +++ tools/extra/test/clang-tidy/modernize-deprecated-headers-cxx03.cpp @@ -1,4 +1,4 @@ -// RUN: %check_clang_tidy %s modernize-deprecated-headers %t -- -extra-arg-before=-isystem%S/Inputs/modernize-deprecated-headers -- -std=c++03 -v +// RUN: %check_clang_tidy %s modernize-deprecated-headers %t -- -extra-arg-before=-isystem%S/Inputs/modernize-deprecated-headers -- -std=c++03 -v -nostdinc #include // CHECK-MESSAGES: :[[@LINE-1]]:10: warning: inclusion of deprecated C++ header 'assert.h'; consider using 'cassert' instead [modernize-deprecated-headers] Index: tools/extra/test/clang-tidy/modernize-deprecated-headers-cxx11.cpp =================================================================== --- tools/extra/test/clang-tidy/modernize-deprecated-headers-cxx11.cpp +++ tools/extra/test/clang-tidy/modernize-deprecated-headers-cxx11.cpp @@ -1,4 +1,4 @@ -// RUN: %check_clang_tidy %s modernize-deprecated-headers %t -- -extra-arg-before=-isystem%S/Inputs/modernize-deprecated-headers -- -std=c++11 -v +// RUN: %check_clang_tidy %s modernize-deprecated-headers %t -- -extra-arg-before=-isystem%S/Inputs/modernize-deprecated-headers -- -std=c++11 -v -nostdinc #include // CHECK-MESSAGES: :[[@LINE-1]]:10: warning: inclusion of deprecated C++ header 'assert.h'; consider using 'cassert' instead [modernize-deprecated-headers] Index: tools/extra/test/clang-tidy/modernize-pass-by-value-macro-header.cpp =================================================================== --- tools/extra/test/clang-tidy/modernize-pass-by-value-macro-header.cpp +++ tools/extra/test/clang-tidy/modernize-pass-by-value-macro-header.cpp @@ -1,4 +1,4 @@ -// RUN: %check_clang_tidy %s modernize-pass-by-value %t -- -- -std=c++11 -isystem %S/Inputs/Headers +// RUN: %check_clang_tidy %s modernize-pass-by-value %t -- -- -std=c++11 -isystem %S/Inputs/Headers -nostdinc // CHECK-FIXES: #include Index: tools/extra/test/clang-tidy/readability-identifier-naming.cpp =================================================================== --- tools/extra/test/clang-tidy/readability-identifier-naming.cpp +++ tools/extra/test/clang-tidy/readability-identifier-naming.cpp @@ -70,7 +70,7 @@ // RUN: {key: readability-identifier-naming.IgnoreFailedSplit, value: 0} \ // RUN: ]}' -- -std=c++11 -fno-delayed-template-parsing \ // RUN: -I%S/Inputs/readability-identifier-naming \ -// RUN: -isystem %S/Inputs/readability-identifier-naming/system +// RUN: -isystem %S/Inputs/readability-identifier-naming/system -nostdinc // clang-format off