From: David Blaikie Date: Fri, 5 Sep 2014 23:36:59 +0000 (+0000) Subject: Fix r217275 to work without the need for standard headers being included X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1e2542d3585a7f51c3fb88269192bbc26572cfd7;p=clang 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@217290 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Modules/Inputs/va_list/module.modulemap b/test/Modules/Inputs/va_list/module.modulemap index a1a6f7d4e0..870f38bb0e 100644 --- a/test/Modules/Inputs/va_list/module.modulemap +++ b/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/test/Modules/Inputs/va_list/va_list_a.h b/test/Modules/Inputs/va_list/va_list_a.h index c1e0f97818..7193ca2ec3 100644 --- a/test/Modules/Inputs/va_list/va_list_a.h +++ b/test/Modules/Inputs/va_list/va_list_a.h @@ -1,2 +1 @@ -@import stdarg; int vprintf(const char * __restrict, va_list);