llvm-project/clang/lib/Tooling
Miklos Vajna bf0d49c437 clang-rename: let -force handle multiple renames
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

llvm-svn: 312942
2017-09-11 20:18:38 +00:00
..
ASTDiff [clang-diff] Treat CXXCtorInitializer as a node 2017-08-27 22:52:20 +00:00
Core Switch to consumeError(), since this can crash otherwise. 2017-08-15 21:20:41 +00:00
Refactoring clang-rename: let -force handle multiple renames 2017-09-11 20:18:38 +00:00
ArgumentsAdjusters.cpp Allow CompilerInvocations to generate .d files. 2017-07-06 21:02:52 +00:00
CMakeLists.txt [clang-diff] Add initial implementation 2017-07-21 12:49:28 +00:00
CommonOptionsParser.cpp [CommonOptionsParser] Expose ArgumentsAdjustingCompilationDatabase 2017-08-18 16:21:08 +00:00
CompilationDatabase.cpp [Tooling] FixedCompilationDatabase should be able to strip positional 2017-06-29 10:43:44 +00:00
FileMatchTrie.cpp Tooling: Hide implementation details 2015-03-09 15:03:26 +00:00
FixIt.cpp [tooling] FixItHint Tooling refactoring 2016-05-11 14:31:39 +00:00
JSONCompilationDatabase.cpp [Tooling] Remove redundant check, NFCi 2017-05-05 14:07:23 +00:00
Refactoring.cpp Apply clang-tidy's performance-unnecessary-value-param to parts of clang. 2017-03-21 21:35:04 +00:00
RefactoringCallbacks.cpp [tooling] RefactoringCallbacks code cleanup 2017-05-12 00:16:56 +00:00
Tooling.cpp Use class to pass information about executable name 2017-08-29 05:22:26 +00:00