diff options
author | River Riddle <riddleriver@gmail.com> | 2020-12-14 11:53:34 -0800 |
---|---|---|
committer | River Riddle <riddleriver@gmail.com> | 2020-12-14 12:00:43 -0800 |
commit | c234b65cef07b38c91b9ab7dec6a35f8b390e658 (patch) | |
tree | 408bd9084ed42ae04f0f32db52eaf63cbe57ca18 /clang/lib/Lex/ModuleMap.cpp | |
parent | 0936655bac78f6e9cb84dc3feb30c32012100839 (diff) | |
download | llvm-c234b65cef07b38c91b9ab7dec6a35f8b390e658.zip llvm-c234b65cef07b38c91b9ab7dec6a35f8b390e658.tar.gz llvm-c234b65cef07b38c91b9ab7dec6a35f8b390e658.tar.bz2 |
[mlir][OpFormat] Add support for emitting newlines from the custom format of an operation
This revision adds a new `printNewline` hook to OpAsmPrinter that allows for printing a newline within the custom format of an operation, that is then indented to the start of the operation. Support for the declarative assembly format is also added, in the form of a `\n` literal.
Differential Revision: https://reviews.llvm.org/D93151
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions