Skip to content

Commit ec71677

Browse files
committed
document that printResourceHandle quotes and escapes
1 parent 78161de commit ec71677

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mlir/include/mlir/IR/OpImplementation.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,8 @@ class AsmPrinter {
202202
/// special or non-printable characters in it.
203203
virtual void printSymbolName(StringRef symbolRef);
204204

205-
/// Print a handle to the given dialect resource.
205+
/// Print a handle to the given dialect resource. The handle key is quoted and
206+
/// escaped if it has any special or non-printable characters in it.
206207
virtual void printResourceHandle(const AsmDialectResourceHandle &resource);
207208

208209
/// Print an optional arrow followed by a type list.

0 commit comments

Comments
 (0)