mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
No need for typedefs with enums in C++.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48312 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b27087f5aa
commit
59746c2516
@ -41,13 +41,13 @@ public:
|
||||
typedef typename NodeVectorType::const_iterator const_iterator;
|
||||
|
||||
private:
|
||||
typedef enum {
|
||||
enum QueryResult {
|
||||
Same = -3,
|
||||
StringIsPrefix = -2,
|
||||
LabelIsPrefix = -1,
|
||||
DontMatch = 0,
|
||||
HaveCommonPart
|
||||
} QueryResult;
|
||||
};
|
||||
|
||||
struct NodeCmp {
|
||||
bool operator() (Node* N1, Node* N2) {
|
||||
|
@ -66,8 +66,6 @@ enum PassManagerType {
|
||||
PMT_Last
|
||||
};
|
||||
|
||||
typedef enum PassManagerType PassManagerType;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
/// Pass interface - Implemented by all 'passes'. Subclass this if you are an
|
||||
/// interprocedural optimization or you do not fit into any of the more
|
||||
|
Loading…
Reference in New Issue
Block a user