diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-11-17 08:57:36 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-11-17 08:57:36 +0000 |
commit | 23afaad895486d4a9ea672f497b63ebc4c588955 (patch) | |
tree | 75ab5d372d092a24f06d9f39803276bba5e20b57 /test/Preprocessor | |
parent | b1295dace2e29a2391aad86b877ef3fd5545ddea (diff) |
Don't #include <stdio.h> when tests don't need it, or use clang instead of clang-cc when they do.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89070 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Preprocessor')
-rw-r--r-- | test/Preprocessor/header_lookup1.c | 2 | ||||
-rw-r--r-- | test/Preprocessor/objc-pp.m | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/Preprocessor/header_lookup1.c b/test/Preprocessor/header_lookup1.c index df58a6ea9c..10049adcd3 100644 --- a/test/Preprocessor/header_lookup1.c +++ b/test/Preprocessor/header_lookup1.c @@ -1,2 +1,2 @@ -// RUN: clang-cc -I /usr/include %s -E | grep 'stdio.h.*3.*4' +// RUN: clang -I /usr/include %s -E | grep 'stdio.h.*3.*4' #include <stdio.h> diff --git a/test/Preprocessor/objc-pp.m b/test/Preprocessor/objc-pp.m index 4ab2f07cef..977789e38f 100644 --- a/test/Preprocessor/objc-pp.m +++ b/test/Preprocessor/objc-pp.m @@ -1,4 +1,4 @@ // RUN: clang-cc %s -fsyntax-only -verify -pedantic -#import <limits.h> // no warning on #import in objc mode. +#import <stdint.h> // no warning on #import in objc mode. |