summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2016-01-30 04:15:33 +0000
committerJustin Bogner <mail@justinbogner.com>2016-01-30 04:15:33 +0000
commit4bc4b5f4b8d891d19ed7b11e0bbebd2bfb615de4 (patch)
tree7deca3f7431292b11e6f282089c7c65f2728c498 /llvm
parent0138037203bef9ebbfd0e726fc5ee1e3226a7fd3 (diff)
downloadbcm5719-llvm-4bc4b5f4b8d891d19ed7b11e0bbebd2bfb615de4.tar.gz
bcm5719-llvm-4bc4b5f4b8d891d19ed7b11e0bbebd2bfb615de4.zip
Remove references to *.h.in files and some autoconf hackery
Missed this stuff in r259291. llvm-svn: 259292
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Config/config.h.cmake2
-rw-r--r--llvm/include/llvm/Support/AIXDataTypesFix.h25
-rw-r--r--llvm/include/llvm/Support/DataTypes.h.cmake6
-rw-r--r--llvm/include/llvm/module.modulemap3
4 files changed, 3 insertions, 33 deletions
diff --git a/llvm/include/llvm/Config/config.h.cmake b/llvm/include/llvm/Config/config.h.cmake
index 6a5ac889e6f..b08796aad7a 100644
--- a/llvm/include/llvm/Config/config.h.cmake
+++ b/llvm/include/llvm/Config/config.h.cmake
@@ -1,5 +1,3 @@
-/* include/llvm/Config/config.h.cmake corresponding to config.h.in. */
-
#ifndef CONFIG_H
#define CONFIG_H
diff --git a/llvm/include/llvm/Support/AIXDataTypesFix.h b/llvm/include/llvm/Support/AIXDataTypesFix.h
deleted file mode 100644
index a9a9147de29..00000000000
--- a/llvm/include/llvm/Support/AIXDataTypesFix.h
+++ /dev/null
@@ -1,25 +0,0 @@
-//===-- llvm/Support/AIXDataTypesFix.h - Fix datatype defs ------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file overrides default system-defined types and limits which cannot be
-// done in DataTypes.h.in because it is processed by autoheader first, which
-// comments out any #undef statement
-//
-//===----------------------------------------------------------------------===//
-
-// No include guards desired!
-
-#ifndef SUPPORT_DATATYPES_H
-#error "AIXDataTypesFix.h must only be included via DataTypes.h!"
-#endif
-
-// GCC is strict about defining large constants: they must have LL modifier.
-// These will be defined properly at the end of DataTypes.h
-#undef INT64_MAX
-#undef INT64_MIN
diff --git a/llvm/include/llvm/Support/DataTypes.h.cmake b/llvm/include/llvm/Support/DataTypes.h.cmake
index c90bf51afae..cccd0bc5fef 100644
--- a/llvm/include/llvm/Support/DataTypes.h.cmake
+++ b/llvm/include/llvm/Support/DataTypes.h.cmake
@@ -21,8 +21,6 @@
/* Please leave this file C-compatible. */
-/* Please keep this file in sync with DataTypes.h.in */
-
#ifndef SUPPORT_DATATYPES_H
#define SUPPORT_DATATYPES_H
@@ -66,7 +64,9 @@
#include <sys/types.h>
#ifdef _AIX
-#include "llvm/Support/AIXDataTypesFix.h"
+// GCC is strict about defining large constants: they must have LL modifier.
+#undef INT64_MAX
+#undef INT64_MIN
#endif
/* Handle incorrect definition of uint64_t as u_int64_t */
diff --git a/llvm/include/llvm/module.modulemap b/llvm/include/llvm/module.modulemap
index d74ada6faa6..efc1890191c 100644
--- a/llvm/include/llvm/module.modulemap
+++ b/llvm/include/llvm/module.modulemap
@@ -184,9 +184,6 @@ module LLVM_Utils {
// Exclude this; it's only included on Solaris.
exclude header "Support/Solaris.h"
- // Exclude this; it's only included on AIX and fundamentally non-modular.
- exclude header "Support/AIXDataTypesFix.h"
-
// Exclude this; it's fundamentally non-modular.
exclude header "Support/PluginLoader.h"
OpenPOWER on IntegriCloud