aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorJacques Pienaar <jpienaar@google.com>2020-10-03 15:17:38 -0700
committerJacques Pienaar <jpienaar@google.com>2020-10-03 15:17:38 -0700
commit9b851527d53345c4a5d56a909dfa1ca7f59a0c11 (patch)
tree92fce6f5a087cf452e1d42b814f583cca380c750 /clang/lib/CodeGen/CodeGenFunction.cpp
parentd20c602aad7cc7d116df3bf8c17c533ef361ee61 (diff)
downloadllvm-9b851527d53345c4a5d56a909dfa1ca7f59a0c11.zip
llvm-9b851527d53345c4a5d56a909dfa1ca7f59a0c11.tar.gz
llvm-9b851527d53345c4a5d56a909dfa1ca7f59a0c11.tar.bz2
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 be185b6a7355fdfeb1c31df2e1272366fe58b01f addresses shared lib failure by fixing up cmake files. Differential Revision: https://reviews.llvm.org/D84107
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions