Skip to content
Commit 9b851527 authored by Jacques Pienaar's avatar Jacques Pienaar
Browse files

Add indented raw_ostream class

Class simplifies keeping track of the indentation while emitting. For every new line the current indentation is simply prefixed (if not at start of line, then it just emits as normal). Add a simple Region helper that makes it easy to have the C++ scope match the emitted scope.

Use this in op doc generator and rewrite generator.

This reverts revert commit be185b6a addresses shared lib failure by fixing up cmake files.

Differential Revision: https://reviews.llvm.org/D84107
parent d20c602a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment