projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Const-correct and prevent a copy of a SmallPtrSet.
[oota-llvm.git]
/
lib
/
TableGen
/
TGParser.h
diff --git
a/lib/TableGen/TGParser.h
b/lib/TableGen/TGParser.h
index 6fd442a7c211c42c8291cc8952b1fc56b0df024e..79994cbc1a6dbf2b8ee38f5480c0c728444b8a9a 100644
(file)
--- a/
lib/TableGen/TGParser.h
+++ b/
lib/TableGen/TGParser.h
@@
-11,8
+11,8
@@
//
//===----------------------------------------------------------------------===//
//
//===----------------------------------------------------------------------===//
-#ifndef TGPARSER_H
-#define TGPARSER_H
+#ifndef
LLVM_LIB_TABLEGEN_
TGPARSER_H
+#define
LLVM_LIB_TABLEGEN_
TGPARSER_H
#include "TGLexer.h"
#include "llvm/ADT/Twine.h"
#include "TGLexer.h"
#include "llvm/ADT/Twine.h"
@@
-181,7
+181,7
@@
private: // Parser methods.
std::vector<unsigned> ParseRangeList();
bool ParseRangePiece(std::vector<unsigned> &Ranges);
RecTy *ParseType();
std::vector<unsigned> ParseRangeList();
bool ParseRangePiece(std::vector<unsigned> &Ranges);
RecTy *ParseType();
- Init *ParseOperation(Record *CurRec);
+ Init *ParseOperation(Record *CurRec
, RecTy *ItemType
);
RecTy *ParseOperatorType();
Init *ParseObjectName(MultiClass *CurMultiClass);
Record *ParseClassID();
RecTy *ParseOperatorType();
Init *ParseObjectName(MultiClass *CurMultiClass);
Record *ParseClassID();