[all-commits] [llvm/llvm-project] 64e4df: [clang][cli] NFC: Use Diags to report parsing succ...
Jan Svoboda via All-commits
all-commits at lists.llvm.org
Mon Apr 19 02:17:34 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 64e4dfd72b42ba76186c61a6e463a5f5cbb0340c
https://github.com/llvm/llvm-project/commit/64e4dfd72b42ba76186c61a6e463a5f5cbb0340c
Author: Jan Svoboda <jan_svoboda at apple.com>
Date: 2021-04-19 (Mon, 19 Apr 2021)
Changed paths:
M clang/lib/Frontend/CompilerInvocation.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list