Changes For Bug 352

Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16137 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer
2004-09-01 22:55:40 +00:00
parent ed543731fb
commit 551ccae044
424 changed files with 766 additions and 7662 deletions

View File

@ -1,4 +1,4 @@
//===-- Support/Annotation.h - Annotation classes ---------------*- C++ -*-===//
//===-- llvm/Support/Annotation.h - Annotation classes ----------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@ -19,8 +19,8 @@
//
//===----------------------------------------------------------------------===//
#ifndef SUPPORT_ANNOTATION_H
#define SUPPORT_ANNOTATION_H
#ifndef LLVM_SUPPORT_ANNOTATION_H
#define LLVM_SUPPORT_ANNOTATION_H
#include <string>
#include <cassert>

View File

@ -15,10 +15,10 @@
#ifndef LLVM_SUPPORT_CFG_H
#define LLVM_SUPPORT_CFG_H
#include "Support/GraphTraits.h"
#include "llvm/ADT/GraphTraits.h"
#include "llvm/Function.h"
#include "llvm/InstrTypes.h"
#include "Support/iterator"
#include "llvm/ADT/iterator"
namespace llvm {

View File

@ -1,4 +1,4 @@
//===-- Support/Casting.h - Allow flexible, checked, casts ------*- C++ -*-===//
//===-- llvm/Support/Casting.h - Allow flexible, checked, casts -*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@ -12,8 +12,8 @@
//
//===----------------------------------------------------------------------===//
#ifndef SUPPORT_CASTING_H
#define SUPPORT_CASTING_H
#ifndef LLVM_SUPPORT_CASTING_H
#define LLVM_SUPPORT_CASTING_H
namespace llvm {

View File

@ -1,4 +1,4 @@
//===- Support/CommandLine.h - Flexible Command line parser -----*- C++ -*-===//
//===- llvm/Support/CommandLine.h - Command line handler --------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@ -17,10 +17,10 @@
//
//===----------------------------------------------------------------------===//
#ifndef SUPPORT_COMMANDLINE_H
#define SUPPORT_COMMANDLINE_H
#ifndef LLVM_SUPPORT_COMMANDLINE_H
#define LLVM_SUPPORT_COMMANDLINE_H
#include "Support/type_traits.h"
#include "llvm/Support/type_traits.h"
#include <string>
#include <vector>
#include <utility>

View File

@ -24,7 +24,7 @@
#ifndef LLVM_SUPPORT_CONSTANT_RANGE_H
#define LLVM_SUPPORT_CONSTANT_RANGE_H
#include "Support/DataTypes.h"
#include "llvm/Support/DataTypes.h"
#include <iosfwd>
namespace llvm {

View File

@ -1,4 +1,4 @@
//===-- Support/DotGraphTraits.h - Customize .dot output --------*- C++ -*-===//
//===-- llvm/Support/DotGraphTraits.h - Customize .dot output ---*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@ -14,8 +14,8 @@
//
//===----------------------------------------------------------------------===//
#ifndef SUPPORT_DOTGRAPHTRAITS_H
#define SUPPORT_DOTGRAPHTRAITS_H
#ifndef LLVM_SUPPORT_DOTGRAPHTRAITS_H
#define LLVM_SUPPORT_DOTGRAPHTRAITS_H
#include <string>

View File

@ -1,4 +1,4 @@
//===- Debug.h - An easy way to add debug output to your code ---*- C++ -*-===//
//===- llvm/Support/Debug.h - Easy way to add debug output ------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@ -23,8 +23,8 @@
//
//===----------------------------------------------------------------------===//
#ifndef SUPPORT_DEBUG_H
#define SUPPORT_DEBUG_H
#ifndef LLVM_SUPPORT_DEBUG_H
#define LLVM_SUPPORT_DEBUG_H
// Unsurprisingly, most users of this macro use std::cerr too.
#include <iostream>

View File

@ -1,4 +1,4 @@
//===-- DynamicLinker.h - System-indep. DynamicLinker interface -*- C++ -*-===//
//===-- llvm/Support/DynamicLinker.h - Portable Dynamic Linker --*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@ -13,8 +13,8 @@
//
//===----------------------------------------------------------------------===//
#ifndef SUPPORT_DYNAMICLINKER_H
#define SUPPORT_DYNAMICLINKER_H
#ifndef LLVM_SUPPORT_DYNAMICLINKER_H
#define LLVM_SUPPORT_DYNAMICLINKER_H
#include <string>

View File

@ -1,4 +1,4 @@
//===-- Support/ELF.h - ELF constants and data structures -------*- C++ -*-===//
//===-- llvm/Support/ELF.h - ELF constants and data structures --*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@ -18,7 +18,10 @@
//
//===----------------------------------------------------------------------===//
#include "Support/DataTypes.h"
#ifndef LLVM_SUPPORT_ELF_H
#define LLVM_SUPPORT_ELF_H
#include "llvm/Support/DataTypes.h"
#include <cstring>
#include <cstdlib>
@ -293,3 +296,5 @@ enum {
} // end namespace ELF
} // end namespace llvm
#endif

View File

@ -1,4 +1,4 @@
//===- Support/FileUtilities.h - File System Utilities ----------*- C++ -*-===//
//===- llvm/Support/FileUtilities.h - File System Utilities -----*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@ -12,8 +12,8 @@
//
//===----------------------------------------------------------------------===//
#ifndef SUPPORT_FILEUTILITIES_H
#define SUPPORT_FILEUTILITIES_H
#ifndef LLVM_SUPPORT_FILEUTILITIES_H
#define LLVM_SUPPORT_FILEUTILITIES_H
#include <string>

View File

@ -1,4 +1,4 @@
//===-- Support/GraphWriter.h - Write a graph to a .dot file ----*- C++ -*-===//
//===-- llvm/Support/GraphWriter.h - Write graph to a .dot file -*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@ -20,11 +20,11 @@
//
//===----------------------------------------------------------------------===//
#ifndef SUPPORT_GRAPHWRITER_H
#define SUPPORT_GRAPHWRITER_H
#ifndef LLVM_SUPPORT_GRAPHWRITER_H
#define LLVM_SUPPORT_GRAPHWRITER_H
#include "Support/DOTGraphTraits.h"
#include "Support/GraphTraits.h"
#include "llvm/Support/DOTGraphTraits.h"
#include "llvm/ADT/GraphTraits.h"
#include <vector>
#include <iostream>

View File

@ -1,4 +1,4 @@
//===-- Support/LeakDetector.h - Provide simple leak detection --*- C++ -*-===//
//===-- llvm/Support/LeakDetector.h - Provide leak detection ----*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@ -19,8 +19,8 @@
//
//===----------------------------------------------------------------------===//
#ifndef SUPPORT_LEAKDETECTOR_H
#define SUPPORT_LEAKDETECTOR_H
#ifndef LLVM_SUPPORT_LEAKDETECTOR_H
#define LLVM_SUPPORT_LEAKDETECTOR_H
#include <string>

View File

@ -1,4 +1,4 @@
//===-- Support/MallocAllocator.h - Allocator using malloc/free -*- C++ -*-===//
//===-- llvm/Support/MallocAllocator.h --------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@ -17,8 +17,8 @@
//
//===----------------------------------------------------------------------===//
#ifndef SUPPORT_MALLOCALLOCATOR_H
#define SUPPORT_MALLOCALLOCATOR_H
#ifndef LLVM_SUPPORT_MALLOCALLOCATOR_H
#define LLVM_SUPPORT_MALLOCALLOCATOR_H
#include <cstdlib>
#include <memory>

View File

@ -1,4 +1,4 @@
//===-- Mangler.h - Self-contained llvm name mangler ------------*- C++ -*-===//
//===-- llvm/Support/Mangler.h - Self-contained name mangler ----*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//

View File

@ -1,4 +1,4 @@
//===-- Support/MathExtras.h - Useful math functions ------------*- C++ -*-===//
//===-- llvm/Support/MathExtras.h - Useful math functions -------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@ -11,10 +11,10 @@
//
//===----------------------------------------------------------------------===//
#ifndef SUPPORT_MATHEXTRAS_H
#define SUPPORT_MATHEXTRAS_H
#ifndef LLVM_SUPPORT_MATHEXTRAS_H
#define LLVM_SUPPORT_MATHEXTRAS_H
#include "Support/DataTypes.h"
#include "llvm/Support/DataTypes.h"
namespace llvm {

View File

@ -18,9 +18,9 @@
#define SUPPORT_THREADSUPPORT_H
#if @HAVE_PTHREAD_MUTEX_LOCK@
#include "Support/ThreadSupport-PThreads.h"
#include "llvm/Support/ThreadSupport-PThreads.h"
#else
#include "Support/ThreadSupport-NoSupport.h"
#include "llvm/Support/ThreadSupport-NoSupport.h"
#endif // If no system support is available
namespace llvm {

View File

@ -23,7 +23,7 @@
#ifndef LLVM_SUPPORT_PASS_NAME_PARSER_H
#define LLVM_SUPPORT_PASS_NAME_PARSER_H
#include "Support/CommandLine.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Pass.h"
#include <algorithm>
#include <iostream>

View File

@ -1,4 +1,4 @@
//===-- Support/PluginLoader.h - Provide -load option to tool ---*- C++ -*-===//
//===-- llvm/Support/PluginLoader.h - Plugin Loader for Tools ---*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@ -14,10 +14,10 @@
//
//===----------------------------------------------------------------------===//
#ifndef SUPPORT_PLUGINLOADER_H
#define SUPPORT_PLUGINLOADER_H
#ifndef LLVM_SUPPORT_PLUGINLOADER_H
#define LLVM_SUPPORT_PLUGINLOADER_H
#include "Support/CommandLine.h"
#include "llvm/Support/CommandLine.h"
namespace llvm {
struct PluginLoader {

View File

@ -1,4 +1,4 @@
//===- SlowOperationInformer.h - Keep the user informed ---------*- C++ -*-===//
//===- llvm/Support/SlowOperationInformer.h - Keep user informed *- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@ -28,8 +28,8 @@
//
//===----------------------------------------------------------------------===//
#ifndef SUPPORT_SLOW_OPERATION_INFORMER_H
#define SUPPORT_SLOW_OPERATION_INFORMER_H
#ifndef LLVM_SUPPORT_SLOW_OPERATION_INFORMER_H
#define LLVM_SUPPORT_SLOW_OPERATION_INFORMER_H
#include <string>
#include <cassert>

View File

@ -12,8 +12,8 @@
//
//===----------------------------------------------------------------------===//
#ifndef SYSTEMUTILS_H
#define SYSTEMUTILS_H
#ifndef LLVM_SUPPORT_SYSTEMUTILS_H
#define LLVM_SUPPORT_SYSTEMUTILS_H
#include <string>

View File

@ -1,4 +1,4 @@
//===-- Support/ThreadSupport-NoSupport.h - Generic impl --------*- C++ -*-===//
//===-- llvm/Support/ThreadSupport-NoSupport.h - Generic Impl ---*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@ -16,7 +16,7 @@
// Users should never #include this file directly! As such, no include guards
// are needed.
#ifndef SUPPORT_THREADSUPPORT_H
#ifndef LLVM_SUPPORT_THREADSUPPORT_H
#error "Code should not #include Support/ThreadSupport-NoSupport.h directly!"
#endif

View File

@ -1,4 +1,4 @@
//===-- Support/ThreadSupport-PThreads.h - PThreads support -----*- C++ -*-===//
//===-- llvm/Support/ThreadSupport-PThreads.h - PThreads support *- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@ -15,7 +15,7 @@
// Users should never #include this file directly! As such, no include guards
// are needed.
#ifndef SUPPORT_THREADSUPPORT_H
#ifndef LLVM_SUPPORT_THREADSUPPORT_H
#error "Code should not #include Support/ThreadSupport/PThreads.h directly!"
#endif

View File

@ -18,9 +18,9 @@
#define SUPPORT_THREADSUPPORT_H
#if @HAVE_PTHREAD_MUTEX_LOCK@
#include "Support/ThreadSupport-PThreads.h"
#include "llvm/Support/ThreadSupport-PThreads.h"
#else
#include "Support/ThreadSupport-NoSupport.h"
#include "llvm/Support/ThreadSupport-NoSupport.h"
#endif // If no system support is available
namespace llvm {

View File

@ -1,4 +1,4 @@
//===-- Support/Timer.h - Interval Timing Support ---------------*- C++ -*-===//
//===-- llvm/Support/Timer.h - Interval Timing Support ----------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@ -12,8 +12,8 @@
//
//===----------------------------------------------------------------------===//
#ifndef SUPPORT_TIMER_H
#define SUPPORT_TIMER_H
#ifndef LLVM_SUPPORT_TIMER_H
#define LLVM_SUPPORT_TIMER_H
#include <string>
#include <vector>

View File

@ -1,4 +1,4 @@
//===-- Support/ToolRunner.h ------------------------------------*- C++ -*-===//
//===-- llvm/Support/ToolRunner.h -------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@ -14,10 +14,10 @@
//
//===----------------------------------------------------------------------===//
#ifndef TOOLRUNNER_H
#define TOOLRUNNER_H
#ifndef LLVM_SUPPORT_TOOLRUNNER_H
#define LLVM_SUPPORT_TOOLRUNNER_H
#include "Support/SystemUtils.h"
#include "llvm/Support/SystemUtils.h"
#include <exception>
#include <vector>

View File

@ -1,4 +1,4 @@
//===- Support/TypeInfo.h - Support class for type_info objects -*- C++ -*-===//
//===- llvm/Support/TypeInfo.h - Support for type_info objects -*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@ -13,8 +13,8 @@
//
//===----------------------------------------------------------------------===//
#ifndef SUPPORT_TYPEINFO_H
#define SUPPORT_TYPEINFO_H
#ifndef LLVM_SUPPORT_TYPEINFO_H
#define LLVM_SUPPORT_TYPEINFO_H
#include <typeinfo>

View File

@ -1,4 +1,4 @@
//===- Support/type_traits.h - Simplfied type traits ------------*- C++ -*-===//
//===- llvm/Support/type_traits.h - Simplfied type traits -------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//