Hi nlewycky, thakis, echristo, chandlerc,

The includes shouldn't be there, use the compiler's built-in types/macros 
instead.

This is a follow-up to r217694, as discussed in:
  
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20140908/114669.html

http://reviews.llvm.org/D5348

Files:
  test/Driver/le32-unknown-nacl.cpp
  test/Driver/le64-unknown-unknown.cpp
Index: test/Driver/le32-unknown-nacl.cpp
===================================================================
--- test/Driver/le32-unknown-nacl.cpp
+++ test/Driver/le32-unknown-nacl.cpp
@@ -4,9 +4,9 @@
 
 // ECHO: {{.*}} "-cc1" {{.*}}le32-unknown-nacl.c
 
-// Check platform defines
-#include <stdarg.h>
-#include <stddef.h>
+typedef __builtin_va_list va_list;
+typedef __SIZE_TYPE__ size_t;
+typedef __PTRDIFF_TYPE__ ptrdiff_t;
 
 extern "C" {
 
Index: test/Driver/le64-unknown-unknown.cpp
===================================================================
--- test/Driver/le64-unknown-unknown.cpp
+++ test/Driver/le64-unknown-unknown.cpp
@@ -3,9 +3,9 @@
 
 // ECHO: {{.*}} "-cc1" {{.*}}le64-unknown-unknown.c
 
-// Check platform defines
-#include <stdarg.h>
-#include <stddef.h>
+typedef __builtin_va_list va_list;
+typedef __SIZE_TYPE__ size_t;
+typedef __PTRDIFF_TYPE__ ptrdiff_t;
 
 extern "C" {
 
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to