mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 02:33:33 +00:00
give PassNameParser a home.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94162 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
36fe19837c
commit
6eeb7345f2
@ -41,6 +41,8 @@ class PassNameParser : public PassRegistrationListener,
|
|||||||
cl::Option *Opt;
|
cl::Option *Opt;
|
||||||
public:
|
public:
|
||||||
PassNameParser() : Opt(0) {}
|
PassNameParser() : Opt(0) {}
|
||||||
|
virtual ~PassNameParser();
|
||||||
|
|
||||||
|
|
||||||
void initialize(cl::Option &O) {
|
void initialize(cl::Option &O) {
|
||||||
Opt = &O;
|
Opt = &O;
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
#include "llvm/ADT/StringMap.h"
|
#include "llvm/ADT/StringMap.h"
|
||||||
#include "llvm/Support/Debug.h"
|
#include "llvm/Support/Debug.h"
|
||||||
#include "llvm/Support/ManagedStatic.h"
|
#include "llvm/Support/ManagedStatic.h"
|
||||||
|
#include "llvm/Support/PassNameParser.h"
|
||||||
#include "llvm/Support/raw_ostream.h"
|
#include "llvm/Support/raw_ostream.h"
|
||||||
#include "llvm/System/Atomic.h"
|
#include "llvm/System/Atomic.h"
|
||||||
#include "llvm/System/Mutex.h"
|
#include "llvm/System/Mutex.h"
|
||||||
@ -394,6 +395,8 @@ void PassRegistrationListener::enumeratePasses() {
|
|||||||
getPassRegistrar()->EnumerateWith(this);
|
getPassRegistrar()->EnumerateWith(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PassNameParser::~PassNameParser() {}
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
// AnalysisUsage Class Implementation
|
// AnalysisUsage Class Implementation
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user