summaryrefslogtreecommitdiffstats
path: root/lib/clang/include/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/clang/include/llvm')
-rw-r--r--lib/clang/include/llvm/ADT/iterator.h78
-rw-r--r--lib/clang/include/llvm/Config/AsmPrinters.def2
-rw-r--r--lib/clang/include/llvm/Config/Disassemblers.def1
-rw-r--r--lib/clang/include/llvm/Config/Targets.def2
-rw-r--r--lib/clang/include/llvm/Config/config.h34
-rw-r--r--lib/clang/include/llvm/Config/llvm-config.h12
-rw-r--r--lib/clang/include/llvm/Support/DataTypes.h (renamed from lib/clang/include/llvm/System/DataTypes.h)6
7 files changed, 38 insertions, 97 deletions
diff --git a/lib/clang/include/llvm/ADT/iterator.h b/lib/clang/include/llvm/ADT/iterator.h
deleted file mode 100644
index b406266..0000000
--- a/lib/clang/include/llvm/ADT/iterator.h
+++ /dev/null
@@ -1,78 +0,0 @@
-/* include/llvm/ADT/iterator.h. Generated from iterator.h.in by configure. */
-//==-- llvm/ADT/iterator.h - Portable wrapper around <iterator> --*- C++ -*-==//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file provides a wrapper around the mysterious <iterator> header file.
-// In GCC 2.95.3, the file defines a bidirectional_iterator class (and other
-// friends), instead of the standard iterator class. In GCC 3.1, the
-// bidirectional_iterator class got moved out and the new, standards compliant,
-// iterator<> class was added. Because there is nothing that we can do to get
-// correct behavior on both compilers, we have this header with #ifdef's. Gross
-// huh?
-//
-// By #includ'ing this file, you get the contents of <iterator> plus the
-// following classes in the global namespace:
-//
-// 1. bidirectional_iterator
-// 2. forward_iterator
-//
-// The #if directives' expressions are filled in by Autoconf.
-//
-// $FreeBSD$
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_ADT_ITERATOR_H
-#define LLVM_ADT_ITERATOR_H
-
-#include <iterator>
-
-#define HAVE_BI_ITERATOR 0
-#define HAVE_STD_ITERATOR 1
-#define HAVE_FWD_ITERATOR 0
-
-#ifdef _MSC_VER
-# define HAVE_BI_ITERATOR 0
-# define HAVE_STD_ITERATOR 1
-# define HAVE_FWD_ITERATOR 0
-#endif
-
-#if !HAVE_BI_ITERATOR
-# if HAVE_STD_ITERATOR
-/// If the bidirectional iterator is not defined, we attempt to define it in
-/// terms of the C++ standard iterator. Otherwise, we import it with a "using"
-/// statement.
-///
-template<class Ty, class PtrDiffTy>
-struct bidirectional_iterator
- : public std::iterator<std::bidirectional_iterator_tag, Ty, PtrDiffTy> {
-};
-# else
-# error "Need to have standard iterator to define bidirectional iterator!"
-# endif
-#else
-using std::bidirectional_iterator;
-#endif
-
-#if !HAVE_FWD_ITERATOR
-# if HAVE_STD_ITERATOR
-/// If the forward iterator is not defined, attempt to define it in terms of
-/// the C++ standard iterator. Otherwise, we import it with a "using" statement.
-///
-template<class Ty, class PtrDiffTy>
-struct forward_iterator
- : public std::iterator<std::forward_iterator_tag, Ty, PtrDiffTy> {
-};
-# else
-# error "Need to have standard iterator to define forward iterator!"
-# endif
-#else
-using std::forward_iterator;
-#endif
-
-#endif // LLVM_ADT_ITERATOR_H
diff --git a/lib/clang/include/llvm/Config/AsmPrinters.def b/lib/clang/include/llvm/Config/AsmPrinters.def
index ab48b4a..ca335df 100644
--- a/lib/clang/include/llvm/Config/AsmPrinters.def
+++ b/lib/clang/include/llvm/Config/AsmPrinters.def
@@ -1,7 +1,7 @@
/* $FreeBSD$ */
-LLVM_ASM_PRINTER(Mips)
LLVM_ASM_PRINTER(ARM)
+LLVM_ASM_PRINTER(Mips)
LLVM_ASM_PRINTER(PowerPC)
LLVM_ASM_PRINTER(X86)
diff --git a/lib/clang/include/llvm/Config/Disassemblers.def b/lib/clang/include/llvm/Config/Disassemblers.def
index 9d9093a..3a65fa4 100644
--- a/lib/clang/include/llvm/Config/Disassemblers.def
+++ b/lib/clang/include/llvm/Config/Disassemblers.def
@@ -1,5 +1,6 @@
/* $FreeBSD$ */
+LLVM_DISASSEMBLER(ARM)
LLVM_DISASSEMBLER(X86)
#undef LLVM_DISASSEMBLER
diff --git a/lib/clang/include/llvm/Config/Targets.def b/lib/clang/include/llvm/Config/Targets.def
index e33b41e..85c3ffe 100644
--- a/lib/clang/include/llvm/Config/Targets.def
+++ b/lib/clang/include/llvm/Config/Targets.def
@@ -1,7 +1,7 @@
/* $FreeBSD$ */
-LLVM_TARGET(Mips)
LLVM_TARGET(ARM)
+LLVM_TARGET(Mips)
LLVM_TARGET(PowerPC)
LLVM_TARGET(X86)
diff --git a/lib/clang/include/llvm/Config/config.h b/lib/clang/include/llvm/Config/config.h
index 0b2a9d4..6671224 100644
--- a/lib/clang/include/llvm/Config/config.h
+++ b/lib/clang/include/llvm/Config/config.h
@@ -5,6 +5,9 @@
#ifndef CONFIG_H
#define CONFIG_H
+/* Relative directory for resource files */
+#define CLANG_RESOURCE_DIR ""
+
/* 32 bit multilib directory. */
#define CXX_INCLUDE_32BIT_DIR ""
@@ -120,6 +123,9 @@
/* Define if the neat program is available */
/* #undef HAVE_FDP */
+/* Define to 1 if you have the <fenv.h> header file. */
+#define HAVE_FENV_H 1
+
/* Define if libffi is available on this platform. */
/* #undef HAVE_FFI_CALL */
@@ -150,9 +156,6 @@
/* Define to 1 if you have the `getrusage' function. */
#define HAVE_GETRUSAGE 1
-/* Have Darwin getsect() support */
-/* #undef HAVE_GETSECT */
-
/* Define to 1 if you have the `gettimeofday' function. */
#define HAVE_GETTIMEOFDAY 1
@@ -226,9 +229,6 @@
/* Define to 1 if you have the <mach-o/dyld.h> header file. */
/* #undef HAVE_MACH_O_DYLD_H */
-/* Define to 1 if you have the <mach-o/getsect.h> header file. */
-/* #undef HAVE_MACH_O_GETSECT_H */
-
/* Define if mallinfo() is available on this platform. */
/* #undef HAVE_MALLINFO */
@@ -466,6 +466,9 @@
/* Define to 1 if you have the <windows.h> header file. */
/* #undef HAVE_WINDOWS_H */
+/* Define if the xdot.py program is available */
+/* #undef HAVE_XDOT_PY */
+
/* Define to 1 if you have the `__dso_handle' function. */
#define HAVE___DSO_HANDLE 1
@@ -473,10 +476,16 @@
/* #undef LLVM_MULTITHREADED */
/* LLVM architecture name for the native architecture, if available */
-#define LLVM_NATIVE_ARCH X86Target
+#define LLVM_NATIVE_ARCH X86
+
+/* LLVM name for the native AsmPrinter init function, if available */
+#define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter
-/* Short LLVM architecture name for the native architecture, if available */
-#define LLVM_NATIVE_ARCHNAME X86
+/* LLVM name for the native Target init function, if available */
+#define LLVM_NATIVE_TARGET LLVMInitializeX86Target
+
+/* LLVM name for the native TargetInfo init function, if available */
+#define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo
/* Define if this is Unixish platform */
#define LLVM_ON_UNIX 1
@@ -508,6 +517,9 @@
/* Define to path to twopi program if found or 'echo twopi' otherwise */
/* #undef LLVM_PATH_TWOPI */
+/* Define to path to xdot.py program if found or 'echo xdot.py' otherwise */
+/* #undef LLVM_PATH_XDOT_PY */
+
/* Installation prefix directory */
#define LLVM_PREFIX "/usr"
@@ -542,13 +554,13 @@
#define PACKAGE_NAME "llvm"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "llvm 2.8svn"
+#define PACKAGE_STRING "llvm 2.9svn"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "-llvm-"
/* Define to the version of this package. */
-#define PACKAGE_VERSION "2.8svn"
+#define PACKAGE_VERSION "2.9svn"
/* Define as the return type of signal handlers (`int' or `void'). */
#define RETSIGTYPE void
diff --git a/lib/clang/include/llvm/Config/llvm-config.h b/lib/clang/include/llvm/Config/llvm-config.h
index 1e11aab..04ff06f 100644
--- a/lib/clang/include/llvm/Config/llvm-config.h
+++ b/lib/clang/include/llvm/Config/llvm-config.h
@@ -22,10 +22,16 @@
/* #undef LLVM_MULTITHREADED */
/* LLVM architecture name for the native architecture, if available */
-#define LLVM_NATIVE_ARCH X86Target
+#define LLVM_NATIVE_ARCH X86
-/* Short LLVM architecture name for the native architecture, if available */
-#define LLVM_NATIVE_ARCHNAME X86
+/* LLVM name for the native Target init function, if available */
+#define LLVM_NATIVE_TARGET LLVMInitializeX86Target
+
+/* LLVM name for the native TargetInfo init function, if available */
+#define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo
+
+/* LLVM name for the native AsmPrinter init function, if available */
+#define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter
/* Define if this is Unixish platform */
#define LLVM_ON_UNIX 1
diff --git a/lib/clang/include/llvm/System/DataTypes.h b/lib/clang/include/llvm/Support/DataTypes.h
index fcec26c..d0fdb7c 100644
--- a/lib/clang/include/llvm/System/DataTypes.h
+++ b/lib/clang/include/llvm/Support/DataTypes.h
@@ -1,5 +1,5 @@
/* $FreeBSD$ */
-/* include/llvm/System/DataTypes.h. Generated from DataTypes.h.in by configure. */
+/* include/llvm/Support/DataTypes.h. Generated from DataTypes.h.in by configure. */
/*===-- include/System/DataTypes.h - Define fixed size types -----*- C -*-===*\
|* *|
|* The LLVM Compiler Infrastructure *|
@@ -17,7 +17,7 @@
|* [u]int(32|64)_t : typedefs for signed and unsigned 32/64 bit system types*|
|* [U]INT(8|16|32|64)_(MIN|MAX) : Constants for the min and max values. *|
|* *|
-|* No library is required when using these functinons. *|
+|* No library is required when using these functions. *|
|* *|
|*===----------------------------------------------------------------------===*/
@@ -65,7 +65,7 @@
#endif
#ifdef _AIX
-#include "llvm/System/AIXDataTypesFix.h"
+#include "llvm/Support/AIXDataTypesFix.h"
#endif
/* Handle incorrect definition of uint64_t as u_int64_t */
OpenPOWER on IntegriCloud