Skip to content
Snippets Groups Projects
  • Miklos Vajna's avatar
    440d6c02
    clang-rename: let -force handle multiple renames · 440d6c02
    Miklos Vajna authored
    Summary:
    The use case is that renaming multiple symbols in a large enough codebase is
    much faster if all of these can be done with a single invocation, but
    there will be multiple translation units where one or more symbols are
    not found.
    
    Old behavior was to exit with an error (default) or exit without
    reporting an error (-force). New behavior is that -force results in a
    best-effort rename: rename symbols which are found and just ignore the
    rest.
    
    The existing help for -force sort of already implies this behavior.
    
    Reviewers: cfe-commits, klimek, arphaman
    
    Reviewed By: klimek
    
    Differential Revision: https://reviews.llvm.org/D37634
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@312942 91177308-0d34-0410-b5e6-96231b3b80d8
    440d6c02
    History
    clang-rename: let -force handle multiple renames
    Miklos Vajna authored
    Summary:
    The use case is that renaming multiple symbols in a large enough codebase is
    much faster if all of these can be done with a single invocation, but
    there will be multiple translation units where one or more symbols are
    not found.
    
    Old behavior was to exit with an error (default) or exit without
    reporting an error (-force). New behavior is that -force results in a
    best-effort rename: rename symbols which are found and just ignore the
    rest.
    
    The existing help for -force sort of already implies this behavior.
    
    Reviewers: cfe-commits, klimek, arphaman
    
    Reviewed By: klimek
    
    Differential Revision: https://reviews.llvm.org/D37634
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@312942 91177308-0d34-0410-b5e6-96231b3b80d8
Code owners
Assign users and groups as approvers for specific file changes. Learn more.