Skip to content

Commit

Permalink
Move DataTypes.h to include/llvm/System, update all users. This break…
Browse files Browse the repository at this point in the history
…s the last

direct inclusion edge from System to Support.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85086 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
chandlerc committed Oct 26, 2009
1 parent 863928f commit 8b67f77
Show file tree
Hide file tree
Showing 79 changed files with 88 additions and 88 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ dist-hook::
$(Echo) Eliminating files constructed by configure
$(Verb) $(RM) -f \
$(TopDistDir)/include/llvm/Config/config.h \
$(TopDistDir)/include/llvm/Support/DataTypes.h
$(TopDistDir)/include/llvm/System/DataTypes.h

clang-only: all
tools-only: all
Expand All @@ -149,7 +149,7 @@ FilesToConfig := \
include/llvm/Config/config.h \
include/llvm/Config/Targets.def \
include/llvm/Config/AsmPrinters.def \
include/llvm/Support/DataTypes.h \
include/llvm/System/DataTypes.h \
tools/llvmc/plugins/Base/Base.td
FilesToConfigPATH := $(addprefix $(LLVM_OBJ_ROOT)/,$(FilesToConfig))

Expand Down
2 changes: 1 addition & 1 deletion autoconf/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1349,7 +1349,7 @@ AC_CONFIG_HEADERS([include/llvm/Config/config.h])
AC_CONFIG_FILES([include/llvm/Config/Targets.def])
AC_CONFIG_FILES([include/llvm/Config/AsmPrinters.def])
AC_CONFIG_FILES([include/llvm/Config/AsmParsers.def])
AC_CONFIG_HEADERS([include/llvm/Support/DataTypes.h])
AC_CONFIG_HEADERS([include/llvm/System/DataTypes.h])

dnl Configure the makefile's configuration data
AC_CONFIG_FILES([Makefile.config])
Expand Down
4 changes: 2 additions & 2 deletions cmake/config-ix.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ configure_file(
)

configure_file(
${LLVM_MAIN_INCLUDE_DIR}/llvm/Support/DataTypes.h.cmake
${LLVM_BINARY_DIR}/include/llvm/Support/DataTypes.h
${LLVM_MAIN_INCLUDE_DIR}/llvm/System/DataTypes.h.cmake
${LLVM_BINARY_DIR}/include/llvm/System/DataTypes.h
)

4 changes: 2 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -35260,7 +35260,7 @@ ac_config_files="$ac_config_files include/llvm/Config/AsmPrinters.def"

ac_config_files="$ac_config_files include/llvm/Config/AsmParsers.def"

ac_config_headers="$ac_config_headers include/llvm/Support/DataTypes.h"
ac_config_headers="$ac_config_headers include/llvm/System/DataTypes.h"


ac_config_files="$ac_config_files Makefile.config"
Expand Down Expand Up @@ -35887,7 +35887,7 @@ do
"include/llvm/Config/Targets.def") CONFIG_FILES="$CONFIG_FILES include/llvm/Config/Targets.def" ;;
"include/llvm/Config/AsmPrinters.def") CONFIG_FILES="$CONFIG_FILES include/llvm/Config/AsmPrinters.def" ;;
"include/llvm/Config/AsmParsers.def") CONFIG_FILES="$CONFIG_FILES include/llvm/Config/AsmParsers.def" ;;
"include/llvm/Support/DataTypes.h") CONFIG_HEADERS="$CONFIG_HEADERS include/llvm/Support/DataTypes.h" ;;
"include/llvm/System/DataTypes.h") CONFIG_HEADERS="$CONFIG_HEADERS include/llvm/System/DataTypes.h" ;;
"Makefile.config") CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
"llvm.spec") CONFIG_FILES="$CONFIG_FILES llvm.spec" ;;
"docs/doxygen.cfg") CONFIG_FILES="$CONFIG_FILES docs/doxygen.cfg" ;;
Expand Down
2 changes: 1 addition & 1 deletion docs/CompilerDriver.html
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ <h2><a class="toc-backref" href="#id21">Conditioning on the executable name</a><
<a href="mailto:[email protected]">Mikhail Glushenkov</a><br />
<a href="http://llvm.org">LLVM Compiler Infrastructure</a><br />

Last modified: $Date: 2008-12-11 11:34:48 -0600 (Thu, 11 Dec 2008) $
Last modified: $Date$
</address></div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion include/llvm-c/Core.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#ifndef LLVM_C_CORE_H
#define LLVM_C_CORE_H

#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"

#ifdef __cplusplus

Expand Down
2 changes: 1 addition & 1 deletion include/llvm/ADT/EquivalenceClasses.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#ifndef LLVM_ADT_EQUIVALENCECLASSES_H
#define LLVM_ADT_EQUIVALENCECLASSES_H

#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"
#include <set>

namespace llvm {
Expand Down
2 changes: 1 addition & 1 deletion include/llvm/ADT/FoldingSet.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#ifndef LLVM_ADT_FOLDINGSET_H
#define LLVM_ADT_FOLDINGSET_H

#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"

Expand Down
2 changes: 1 addition & 1 deletion include/llvm/ADT/ImmutableList.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include "llvm/Support/Allocator.h"
#include "llvm/ADT/FoldingSet.h"
#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"
#include <cassert>

namespace llvm {
Expand Down
2 changes: 1 addition & 1 deletion include/llvm/ADT/ImmutableSet.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include "llvm/Support/Allocator.h"
#include "llvm/ADT/FoldingSet.h"
#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"
#include <cassert>
#include <functional>

Expand Down
2 changes: 1 addition & 1 deletion include/llvm/ADT/SmallPtrSet.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <cassert>
#include <cstring>
#include <iterator>
#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"
#include "llvm/Support/PointerLikeTypeTraits.h"

namespace llvm {
Expand Down
2 changes: 1 addition & 1 deletion include/llvm/ADT/SparseBitVector.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#include "llvm/ADT/ilist.h"
#include "llvm/ADT/ilist_node.h"
#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>
Expand Down
2 changes: 1 addition & 1 deletion include/llvm/ADT/StringExtras.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#ifndef LLVM_ADT_STRINGEXTRAS_H
#define LLVM_ADT_STRINGEXTRAS_H

#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"
#include "llvm/ADT/APFloat.h"
#include "llvm/ADT/StringRef.h"
#include <cctype>
Expand Down
2 changes: 1 addition & 1 deletion include/llvm/ADT/Twine.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define LLVM_ADT_TWINE_H

#include "llvm/ADT/StringRef.h"
#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"
#include <cassert>
#include <string>

Expand Down
2 changes: 1 addition & 1 deletion include/llvm/Analysis/ScalarEvolution.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include "llvm/Pass.h"
#include "llvm/Instructions.h"
#include "llvm/Function.h"
#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"
#include "llvm/Support/ValueHandle.h"
#include "llvm/Support/Allocator.h"
#include "llvm/Support/ConstantRange.h"
Expand Down
2 changes: 1 addition & 1 deletion include/llvm/Analysis/ValueTracking.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#ifndef LLVM_ANALYSIS_VALUETRACKING_H
#define LLVM_ANALYSIS_VALUETRACKING_H

#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"
#include <string>

namespace llvm {
Expand Down
2 changes: 1 addition & 1 deletion include/llvm/BasicBlock.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include "llvm/Instruction.h"
#include "llvm/SymbolTableListTraits.h"
#include "llvm/ADT/ilist.h"
#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"

namespace llvm {

Expand Down
2 changes: 1 addition & 1 deletion include/llvm/Bitcode/BitCodes.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#define LLVM_BITCODE_BITCODES_H

#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"
#include <cassert>

namespace llvm {
Expand Down
2 changes: 1 addition & 1 deletion include/llvm/Bitcode/Deserialize.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/Allocator.h"
#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"
#include <vector>

namespace llvm {
Expand Down
2 changes: 1 addition & 1 deletion include/llvm/CodeGen/BinaryObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#ifndef LLVM_CODEGEN_BINARYOBJECT_H
#define LLVM_CODEGEN_BINARYOBJECT_H

#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"

#include <string>
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion include/llvm/CodeGen/ELFRelocation.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#ifndef LLVM_CODEGEN_ELF_RELOCATION_H
#define LLVM_CODEGEN_ELF_RELOCATION_H

#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"

namespace llvm {

Expand Down
2 changes: 1 addition & 1 deletion include/llvm/CodeGen/JITCodeEmitter.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#define LLVM_CODEGEN_JITCODEEMITTER_H

#include <string>
#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/CodeGen/MachineCodeEmitter.h"

Expand Down
2 changes: 1 addition & 1 deletion include/llvm/CodeGen/MachineCodeEmitter.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#ifndef LLVM_CODEGEN_MACHINECODEEMITTER_H
#define LLVM_CODEGEN_MACHINECODEEMITTER_H

#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"
#include "llvm/Support/DebugLoc.h"

namespace llvm {
Expand Down
2 changes: 1 addition & 1 deletion include/llvm/CodeGen/MachineFrameInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include "llvm/ADT/BitVector.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"
#include <cassert>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion include/llvm/CodeGen/MachineModuleInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#define LLVM_CODEGEN_MACHINEMODULEINFO_H

#include "llvm/Support/Dwarf.h"
#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/UniqueVector.h"
Expand Down
2 changes: 1 addition & 1 deletion include/llvm/CodeGen/MachineOperand.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#ifndef LLVM_CODEGEN_MACHINEOPERAND_H
#define LLVM_CODEGEN_MACHINEOPERAND_H

#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"
#include <cassert>

namespace llvm {
Expand Down
2 changes: 1 addition & 1 deletion include/llvm/CodeGen/MachineRelocation.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#ifndef LLVM_CODEGEN_MACHINERELOCATION_H
#define LLVM_CODEGEN_MACHINERELOCATION_H

#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"
#include <cassert>

namespace llvm {
Expand Down
2 changes: 1 addition & 1 deletion include/llvm/CodeGen/SelectionDAGNodes.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include "llvm/CodeGen/ValueTypes.h"
#include "llvm/CodeGen/MachineMemOperand.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"
#include "llvm/Support/DebugLoc.h"
#include <cassert>

Expand Down
2 changes: 1 addition & 1 deletion include/llvm/CodeGen/ValueTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#include <cassert>
#include <string>
#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"
#include "llvm/Support/MathExtras.h"

namespace llvm {
Expand Down
2 changes: 1 addition & 1 deletion include/llvm/ExecutionEngine/GenericValue.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#define GENERIC_VALUE_H

#include "llvm/ADT/APInt.h"
#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"

namespace llvm {

Expand Down
2 changes: 1 addition & 1 deletion include/llvm/ExecutionEngine/JITEventListener.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#ifndef LLVM_EXECUTION_ENGINE_JIT_EVENTLISTENER_H
#define LLVM_EXECUTION_ENGINE_JIT_EVENTLISTENER_H

#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"
#include "llvm/Support/DebugLoc.h"

#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion include/llvm/ExecutionEngine/JITMemoryManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#ifndef LLVM_EXECUTION_ENGINE_JIT_MEMMANAGER_H
#define LLVM_EXECUTION_ENGINE_JIT_MEMMANAGER_H

#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"
#include <string>

namespace llvm {
Expand Down
2 changes: 1 addition & 1 deletion include/llvm/MC/MCAsmLexer.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define LLVM_MC_MCASMLEXER_H

#include "llvm/ADT/StringRef.h"
#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"

namespace llvm {
class MCAsmLexer;
Expand Down
2 changes: 1 addition & 1 deletion include/llvm/MC/MCAsmParser.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#ifndef LLVM_MC_MCASMPARSER_H
#define LLVM_MC_MCASMPARSER_H

#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"

namespace llvm {
class MCAsmLexer;
Expand Down
2 changes: 1 addition & 1 deletion include/llvm/MC/MCAssembler.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "llvm/ADT/ilist.h"
#include "llvm/ADT/ilist_node.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"
#include <vector> // FIXME: Shouldn't be needed.

namespace llvm {
Expand Down
2 changes: 1 addition & 1 deletion include/llvm/MC/MCDisassembler.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#ifndef MCDISASSEMBLER_H
#define MCDISASSEMBLER_H

#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"

namespace llvm {

Expand Down
2 changes: 1 addition & 1 deletion include/llvm/MC/MCExpr.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define LLVM_MC_MCEXPR_H

#include "llvm/Support/Casting.h"
#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"

namespace llvm {
class MCAsmInfo;
Expand Down
2 changes: 1 addition & 1 deletion include/llvm/MC/MCInst.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#define LLVM_MC_MCINST_H

#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"

namespace llvm {
class raw_ostream;
Expand Down
2 changes: 1 addition & 1 deletion include/llvm/MC/MCStreamer.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#ifndef LLVM_MC_MCSTREAMER_H
#define LLVM_MC_MCSTREAMER_H

#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"

namespace llvm {
class MCAsmInfo;
Expand Down
2 changes: 1 addition & 1 deletion include/llvm/MC/MCSymbol.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include <string>
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"

namespace llvm {
class MCAsmInfo;
Expand Down
2 changes: 1 addition & 1 deletion include/llvm/MC/MCValue.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#ifndef LLVM_MC_MCVALUE_H
#define LLVM_MC_MCVALUE_H

#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"
#include "llvm/MC/MCSymbol.h"
#include <cassert>

Expand Down
2 changes: 1 addition & 1 deletion include/llvm/Module.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include "llvm/GlobalVariable.h"
#include "llvm/GlobalAlias.h"
#include "llvm/Metadata.h"
#include "llvm/Support/DataTypes.h"
#include "llvm/System/DataTypes.h"
#include <vector>

namespace llvm {
Expand Down
Loading

0 comments on commit 8b67f77

Please sign in to comment.