r217290 - Fix r217275 to work without the need for standard headers being included
David Blaikie
dblaikie at gmail.com
Fri Sep 5 16:37:05 PDT 2014
Author: dblaikie
Date: Fri Sep 5 18:36:59 2014
New Revision: 217290
URL: http://llvm.org/viewvc/llvm-project?rev=217290&view=rev
Log:
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.
Modified:
cfe/trunk/test/Modules/Inputs/va_list/module.modulemap
cfe/trunk/test/Modules/Inputs/va_list/va_list_a.h
Modified: cfe/trunk/test/Modules/Inputs/va_list/module.modulemap
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Modules/Inputs/va_list/module.modulemap?rev=217290&r1=217289&r2=217290&view=diff
==============================================================================
--- cfe/trunk/test/Modules/Inputs/va_list/module.modulemap (original)
+++ cfe/trunk/test/Modules/Inputs/va_list/module.modulemap Fri Sep 5 18:36:59 2014
@@ -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" }
Modified: cfe/trunk/test/Modules/Inputs/va_list/va_list_a.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Modules/Inputs/va_list/va_list_a.h?rev=217290&r1=217289&r2=217290&view=diff
==============================================================================
--- cfe/trunk/test/Modules/Inputs/va_list/va_list_a.h (original)
+++ cfe/trunk/test/Modules/Inputs/va_list/va_list_a.h Fri Sep 5 18:36:59 2014
@@ -1,2 +1 @@
- at import stdarg;
int vprintf(const char * __restrict, va_list);
More information about the cfe-commits
mailing list