[clang-tools-extra] [NFC][clang-tidy] Add type annotations to rename_check.py (PR #108443)
Nicolas van Kempen via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 12 12:28:36 PDT 2024
================
@@ -311,7 +315,7 @@ def main():
"Check name '%s' not found in %s. Exiting."
% (check_name_camel, cmake_lists)
)
- return 1
+ sys.exit(1)
----------------
nicovank wrote:
Technically, this is a functional change. `return 1` was not doing anything beyond `return`. Exit with code 1 instead.
https://github.com/llvm/llvm-project/pull/108443
More information about the cfe-commits
mailing list