[mlir] Add `parseSymbolName` that doesn't take an attribute list
authorJeff Niu <jeff@modular.com>
Tue, 25 Oct 2022 16:28:53 +0000 (09:28 -0700)
committerJeff Niu <jeff@modular.com>
Thu, 27 Oct 2022 19:07:43 +0000 (12:07 -0700)
commitc0095050dacff8a7b0e9066cfd1c37c684bc4fa3
tree6a8d0ce536fe2ec64fbd76c4900043d7909a3537
parentea1e767a060ca2c9deb0326f20ccc5291100e530
[mlir] Add `parseSymbolName` that doesn't take an attribute list

This patch adds a version of `parseSymbolName` and
`parseOptionalSymbolName` to AsmParser that don't take an attribute name
and attribute list.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D136696
mlir/include/mlir/IR/OpImplementation.h
mlir/lib/AsmParser/AsmParserImpl.h