[llvm-branch-commits] [cfe-branch] r143935 - in /cfe/branches/release_30: ./ test/Preprocessor/header_lookup1.c

Chandler Carruth chandlerc at gmail.com
Mon Nov 7 02:21:27 PST 2011

Author: chandlerc
Date: Mon Nov  7 04:21:27 2011
New Revision: 143935

URL: http://llvm.org/viewvc/llvm-project?rev=143935&view=rev
Merging r143806:
r143806 | chandlerc | 2011-11-05 03:15:33 -0700 (Sat, 05 Nov 2011) | 15 lines

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.

    cfe/branches/release_30/   (props changed)

Propchange: cfe/branches/release_30/
--- svn:mergeinfo (original)
+++ svn:mergeinfo Mon Nov  7 04:21:27 2011
@@ -1,3 +1,3 @@

Modified: cfe/branches/release_30/test/Preprocessor/header_lookup1.c
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_30/test/Preprocessor/header_lookup1.c?rev=143935&r1=143934&r2=143935&view=diff
--- cfe/branches/release_30/test/Preprocessor/header_lookup1.c (original)
+++ cfe/branches/release_30/test/Preprocessor/header_lookup1.c Mon Nov  7 04:21:27 2011
@@ -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 <stddef.h>

More information about the llvm-branch-commits mailing list