diff options
| author | David Blaikie <dblaikie@gmail.com> | 2014-09-05 23:36:59 +0000 |
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2014-09-05 23:36:59 +0000 |
| commit | f5f9a836682d297f2caeb92f5a6c01b58ea839b3 (patch) | |
| tree | 8fb8208d5d74c2e65a6c9b4b58146450651455dc /clang/test/Modules | |
| parent | 21d27ee95b41a113d71e74c4d19bb1d0822812db (diff) | |
| download | bcm5719-llvm-f5f9a836682d297f2caeb92f5a6c01b58ea839b3.tar.gz bcm5719-llvm-f5f9a836682d297f2caeb92f5a6c01b58ea839b3.zip | |
Fix r217275 to work without the need for standard headers being included
It seems (I guess) in ObjC that va_list is provided without the need for
inclusions. I verified that with this change the test still crashes in
the absence of the fix committed in r217275.
llvm-svn: 217290
Diffstat (limited to 'clang/test/Modules')
| -rw-r--r-- | clang/test/Modules/Inputs/va_list/module.modulemap | 3 | ||||
| -rw-r--r-- | clang/test/Modules/Inputs/va_list/va_list_a.h | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/clang/test/Modules/Inputs/va_list/module.modulemap b/clang/test/Modules/Inputs/va_list/module.modulemap index a1a6f7d4e07..870f38bb0ec 100644 --- a/clang/test/Modules/Inputs/va_list/module.modulemap +++ b/clang/test/Modules/Inputs/va_list/module.modulemap @@ -1,5 +1,2 @@ -module stdarg [system] { - header "stdarg.h" // note: supplied by the compiler -} module va_list_a { header "va_list_a.h" } module va_list_b { header "va_list_b.h" } diff --git a/clang/test/Modules/Inputs/va_list/va_list_a.h b/clang/test/Modules/Inputs/va_list/va_list_a.h index c1e0f978184..7193ca2ec34 100644 --- a/clang/test/Modules/Inputs/va_list/va_list_a.h +++ b/clang/test/Modules/Inputs/va_list/va_list_a.h @@ -1,2 +1 @@ -@import stdarg; int vprintf(const char * __restrict, va_list); |

