aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
diff options
context:
space:
mode:
authorJan Svoboda <jan_svoboda@apple.com>2021-04-16 15:30:28 +0200
committerJan Svoboda <jan_svoboda@apple.com>2021-04-19 11:17:16 +0200
commit64e4dfd72b42ba76186c61a6e463a5f5cbb0340c (patch)
treec52030bece00b8a034a881735ae32af998f1432e /llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
parent26bbb8700bb0ea0ce29e4158e5aa7999ab0d5386 (diff)
downloadllvm-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