diff options
Diffstat (limited to 'mlir/lib/Parser/AsmParserState.cpp')
-rw-r--r-- | mlir/lib/Parser/AsmParserState.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mlir/lib/Parser/AsmParserState.cpp b/mlir/lib/Parser/AsmParserState.cpp index 5c59848bd3b2..a3aa3a71e535 100644 --- a/mlir/lib/Parser/AsmParserState.cpp +++ b/mlir/lib/Parser/AsmParserState.cpp @@ -259,8 +259,7 @@ void AsmParserState::addDefinition(Block *block, SMLoc location) { impl->blocks[it->second]->definition.loc = convertIdLocToRange(location); } -void AsmParserState::addDefinition(BlockArgument blockArg, - SMLoc location) { +void AsmParserState::addDefinition(BlockArgument blockArg, SMLoc location) { auto it = impl->blocksToIdx.find(blockArg.getOwner()); assert(it != impl->blocksToIdx.end() && "expected owner block to have an entry"); |