[PATCH] D148439: [clang-rename] Exit gracefully when no input provided
Kirill Bobyrev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Apr 16 18:36:41 PDT 2023
kbobyrev accepted this revision.
kbobyrev added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: clang/tools/clang-rename/ClangRename.cpp:130
+ } else {
+ errs() << "clang-rename: No input provided.\n";
+ return 1;
----------------
Probably something like "input must be provided" would be more understandable by the user, but this is also fine.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148439/new/
https://reviews.llvm.org/D148439
More information about the cfe-commits
mailing list