move TGSourceMgr class out of TableGen into libsupport.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73842 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-06-21 03:36:54 +00:00
parent e372333597
commit 099e198ae8
5 changed files with 12 additions and 8 deletions

View File

@ -1,4 +1,4 @@
//===- TGSourceMgr.h - Manager for Source Buffers & Diagnostics -*- C++ -*-===// //===- SourceMgr.h - Manager for Source Buffers & Diagnostics ---*- C++ -*-===//
// //
// The LLVM Compiler Infrastructure // The LLVM Compiler Infrastructure
// //
@ -7,7 +7,9 @@
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
// //
// This file declares the TGSourceMgr class. // This file declares the SourceMgr class. This class is used as a simple
// substrate for diagnostics, #include handling, and other low level things for
// simple parsers.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//

View File

@ -1,4 +1,4 @@
//===- TGSourceMgr.cpp - Manager for Source Buffers & Diagnostics ---------===// //===- SourceMgr.cpp - Manager for Simple Source Buffers & Diagnostics ----===//
// //
// The LLVM Compiler Infrastructure // The LLVM Compiler Infrastructure
// //
@ -7,11 +7,13 @@
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
// //
// This file implements the TGSourceMgr class. // This file implements the SourceMgr class. This class is used as a simple
// substrate for diagnostics, #include handling, and other low level things for
// simple parsers.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#include "TGSourceMgr.h" #include "llvm/Support/SourceMgr.h"
#include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/raw_ostream.h" #include "llvm/Support/raw_ostream.h"
using namespace llvm; using namespace llvm;

View File

@ -15,7 +15,7 @@
#ifndef RECORD_H #ifndef RECORD_H
#define RECORD_H #define RECORD_H
#include "TGSourceMgr.h" #include "llvm/Support/SourceMgr.h"
#include "llvm/Support/DataTypes.h" #include "llvm/Support/DataTypes.h"
#include <map> #include <map>
#include <ostream> #include <ostream>

View File

@ -12,7 +12,7 @@
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#include "TGLexer.h" #include "TGLexer.h"
#include "TGSourceMgr.h" #include "llvm/Support/SourceMgr.h"
#include "llvm/Support/Streams.h" #include "llvm/Support/Streams.h"
#include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/MemoryBuffer.h"
#include <ostream> #include <ostream>

View File

@ -15,7 +15,7 @@
#define TGPARSER_H #define TGPARSER_H
#include "TGLexer.h" #include "TGLexer.h"
#include "TGSourceMgr.h" #include "llvm/Support/SourceMgr.h"
#include <map> #include <map>
namespace llvm { namespace llvm {