forked from OSchip/llvm-project
Use SmallVectorImpl instead of SmallVector for function parameters (NFC)
Closes tensorflow/mlir#247 PiperOrigin-RevId: 281185661
This commit is contained in:
parent
8c6a5233d5
commit
d8563c0e3a
|
@ -338,7 +338,7 @@ void printDimAndSymbolList(Operation::operand_iterator begin,
|
|||
|
||||
/// Parses dimension and symbol list and returns true if parsing failed.
|
||||
ParseResult parseDimAndSymbolList(OpAsmParser &parser,
|
||||
SmallVector<Value *, 4> &operands,
|
||||
SmallVectorImpl<Value *> &operands,
|
||||
unsigned &numDims);
|
||||
|
||||
llvm::raw_ostream &operator<<(llvm::raw_ostream &os, SubViewOp::Range &range);
|
||||
|
|
|
@ -212,7 +212,7 @@ void mlir::printDimAndSymbolList(Operation::operand_iterator begin,
|
|||
// dimension operands parsed.
|
||||
// Returns 'false' on success and 'true' on error.
|
||||
ParseResult mlir::parseDimAndSymbolList(OpAsmParser &parser,
|
||||
SmallVector<Value *, 4> &operands,
|
||||
SmallVectorImpl<Value *> &operands,
|
||||
unsigned &numDims) {
|
||||
SmallVector<OpAsmParser::OperandType, 8> opInfos;
|
||||
if (parser.parseOperandList(opInfos, OpAsmParser::Delimiter::Paren))
|
||||
|
|
Loading…
Reference in New Issue