From 0cad538ae17f8e05375d1edf1d9f49bb4049e39b Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Sat, 5 Nov 2011 10:15:33 +0000 Subject: [PATCH] Change this test to reflect the state we are moving in. The Clang builtin headers are no longer going to receive the old 'implicit extern "C" block' semantics. This hint is actually ignored by both Clang and GCC at this point, and Clang's own builtin headers can simply be changed if there is any issue with this. Clang should be free to include these however it wants, and so shorter and simpler is better. Note: *nothing* is changing about the *system* stddef.h include. That should always have the exact same include semantics, whether with Clang or GCC or any other compiler. Only the compiler-builtin header search path is changing. If anyone knows of some risk that this introduces that I've not thought of, please chime in. So far, only Windows has switched to the Brave New World, but others should be switching soon. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143806 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Preprocessor/header_lookup1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Preprocessor/header_lookup1.c b/test/Preprocessor/header_lookup1.c index f52e4fe6ce..d090936373 100644 --- a/test/Preprocessor/header_lookup1.c +++ b/test/Preprocessor/header_lookup1.c @@ -1,2 +1,2 @@ -// RUN: %clang -fno-ms-extensions %s -E | grep 'stddef.h.*3.*4' +// RUN: %clang -fno-ms-extensions %s -E | grep 'stddef.h.*3' #include -- 2.50.1