summaryrefslogtreecommitdiff
path: root/include/llvm/Support/Endian.h
diff options
context:
space:
mode:
authorDylan Noblesmith <nobled@dreamwidth.org>2011-06-23 12:34:31 +0000
committerDylan Noblesmith <nobled@dreamwidth.org>2011-06-23 12:34:31 +0000
commit4e5885dc0f6aa0d5e095d79996955042d7b82b8d (patch)
tree39038198377b4af7f9e86f3ea5b89f8eaefb8aa4 /include/llvm/Support/Endian.h
parent3fa9a42fdd5b692c4fb07f18c1c1a52f9c370620 (diff)
downloadllvm-4e5885dc0f6aa0d5e095d79996955042d7b82b8d.tar.gz
llvm-4e5885dc0f6aa0d5e095d79996955042d7b82b8d.tar.bz2
llvm-4e5885dc0f6aa0d5e095d79996955042d7b82b8d.tar.xz
Don't include config.h in public headers
Replace it with llvm-config.h, which defines a subset of config.h's macros "so that they can be in exported headers and won't override package specific directives", e.g., PACKAGE_NAME. Endian.h wasn't using any macros at all though, so just delete the include there instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133712 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/Endian.h')
-rw-r--r--include/llvm/Support/Endian.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/llvm/Support/Endian.h b/include/llvm/Support/Endian.h
index f62eab0702..af1b506d6c 100644
--- a/include/llvm/Support/Endian.h
+++ b/include/llvm/Support/Endian.h
@@ -14,7 +14,6 @@
#ifndef LLVM_SUPPORT_ENDIAN_H
#define LLVM_SUPPORT_ENDIAN_H
-#include "llvm/Config/config.h"
#include "llvm/Support/Host.h"
#include "llvm/Support/SwapByteOrder.h"
#include "llvm/Support/type_traits.h"