diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-11-07 10:21:27 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-11-07 10:21:27 +0000 |
commit | 4e61d20111f8769edae6ac51d964b7f75b474f05 (patch) | |
tree | aab039b481e9bd4f8cc2f3eb18749d255f9e9ddf | |
parent | c71ec93cfdef1b30fc0b93ef7882d1f2389c1ede (diff) | |
download | llvm-4e61d20111f8769edae6ac51d964b7f75b474f05.zip llvm-4e61d20111f8769edae6ac51d964b7f75b474f05.tar.gz llvm-4e61d20111f8769edae6ac51d964b7f75b474f05.tar.bz2 |
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.
------------------------------------------------------------------------
llvm-svn: 143935
-rw-r--r-- | clang/test/Preprocessor/header_lookup1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Preprocessor/header_lookup1.c b/clang/test/Preprocessor/header_lookup1.c index f52e4fe..d090936 100644 --- a/clang/test/Preprocessor/header_lookup1.c +++ b/clang/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 <stddef.h> |