diff options
author | Jan Svoboda <jan_svoboda@apple.com> | 2021-04-16 15:30:28 +0200 |
---|---|---|
committer | Jan Svoboda <jan_svoboda@apple.com> | 2021-04-19 11:17:16 +0200 |
commit | 64e4dfd72b42ba76186c61a6e463a5f5cbb0340c (patch) | |
tree | c52030bece00b8a034a881735ae32af998f1432e /llvm/lib/Transforms/Utils/LoopRotationUtils.cpp | |
parent | 26bbb8700bb0ea0ce29e4158e5aa7999ab0d5386 (diff) | |
download | llvm-64e4dfd72b42ba76186c61a6e463a5f5cbb0340c.zip llvm-64e4dfd72b42ba76186c61a6e463a5f5cbb0340c.tar.gz llvm-64e4dfd72b42ba76186c61a6e463a5f5cbb0340c.tar.bz2 |
[clang][cli] NFC: Use Diags to report parsing success/failure
`Success` is set to `false` whenever `Diags.Report(diag::err_)` is called. Remove the duplication and use `Diags` as the source of truth when deciding whether to report parsing success/failure.
Reviewed By: dexonsmith
Differential Revision: https://reviews.llvm.org/D100644
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopRotationUtils.cpp')
0 files changed, 0 insertions, 0 deletions