[PATCH] D148439: [clang-rename] Exit gracefully when no input provided

Shivam Gupta via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 16 21:54:44 PDT 2023


xgupta marked an inline comment as done.
xgupta added inline comments.


================
Comment at: clang/tools/clang-rename/ClangRename.cpp:130
+  } else {
+    errs() << "clang-rename: No input provided.\n";
+    return 1;
----------------
kbobyrev wrote:
> Probably something like "input must be provided" would be more understandable by the user, but this is also fine.
Thanks for the suggestion!


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