]> granicus.if.org Git - clang/commitdiff
Fix r217275 to work without the need for standard headers being included
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 5 Sep 2014 23:36:59 +0000 (23:36 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 5 Sep 2014 23:36:59 +0000 (23:36 +0000)
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

test/Modules/Inputs/va_list/module.modulemap
test/Modules/Inputs/va_list/va_list_a.h

index a1a6f7d4e07c36b36844e8257c9688498d284dcc..870f38bb0ecdc09437dcd9c1a6d40a276343b533 100644 (file)
@@ -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" }
index c1e0f978184af12df7839a5dcc32b484dc4dddb3..7193ca2ec34097ec8ebae67286eef63c17c80a8f 100644 (file)
@@ -1,2 +1 @@
-@import stdarg;
 int  vprintf(const char * __restrict, va_list);