mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
49837ef811
give the files a legacy prefix in the right directory. Use forwarding headers in the old locations to paper over the name change for most clients during the transitional period. No functionality changed here! This is just clearing some space to reduce renaming churn later on with a new system. Even when the new stuff starts to go in, it is going to be hidden behind a flag and off-by-default as it is still WIP and under development. This patch is specifically designed so that very little out-of-tree code has to change. I'm going to work as hard as I can to keep that the case. Only direct forward declarations of the PassManager class are impacted by this change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194324 91177308-0d34-0410-b5e6-96231b3b80d8
40 lines
1.4 KiB
C++
40 lines
1.4 KiB
C++
//===- llvm/PassManager.h - Container for Passes ----------------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This is a legacy redirect header for the old PassManager. It is intended to
|
|
// be used by clients that have not been converted to be aware of the new pass
|
|
// management infrastructure being built for LLVM, which is every client
|
|
// initially. Eventually this header (and the legacy management layer) will go
|
|
// away, but we want to minimize changes to out-of-tree users of LLVM in the
|
|
// interim.
|
|
//
|
|
// Note that this header *must not* be included into the same file as the new
|
|
// pass management infrastructure is included. Things will break spectacularly.
|
|
// If you are starting that conversion, you should switch to explicitly
|
|
// including LegacyPassManager.h and using the legacy namespace.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_PASSMANAGER_H
|
|
#define LLVM_PASSMANAGER_H
|
|
|
|
#include "llvm/IR/LegacyPassManager.h"
|
|
|
|
namespace llvm {
|
|
|
|
// Pull these into the llvm namespace so that existing code that expects it
|
|
// there can find it.
|
|
using legacy::PassManagerBase;
|
|
using legacy::PassManager;
|
|
using legacy::FunctionPassManager;
|
|
|
|
}
|
|
|
|
#endif
|