diff options
author | Georgii Rymar <grimar@accesssoftek.com> | 2020-05-28 17:42:42 +0300 |
---|---|---|
committer | Georgii Rymar <grimar@accesssoftek.com> | 2020-05-29 16:45:18 +0300 |
commit | 9819976032c5af8d9109f2077e637c8303e4d6df (patch) | |
tree | 3d84266201a60a0fe996959d4c707657f3aa2de9 /llvm/lib/CodeGen/ModuloSchedule.cpp | |
parent | 21dadd774f56778ef68c1ce307205dfbdacc793a (diff) | |
download | llvm-9819976032c5af8d9109f2077e637c8303e4d6df.zip llvm-9819976032c5af8d9109f2077e637c8303e4d6df.tar.gz llvm-9819976032c5af8d9109f2077e637c8303e4d6df.tar.bz2 |
[llvm-readobj] - Cleanup the DwarfCFIEH::PrinterContext class. NFCI.
It would be nice to switch to `reportUniqueWarnings` from
`reportError` in this class, but first of all it needs a cleanup.
This patch:
1) Eliminates autos.
2) Removes code duplication.
3) Changes how the code works with `Expected<>`.
4) Introduces 2 new `using`s to make the code a bit shorter.
Differential revision: https://reviews.llvm.org/D80726
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
0 files changed, 0 insertions, 0 deletions