llvm-project/clang/lib/Tooling/Refactoring
Yitzhak Mandelbaum fab7205ac4 [LibTooling] Add Explanation parameter to `makeRule`.
Summary:
Conceptually, a single-case RewriteRule has a matcher, edit(s) and an (optional)
explanation. `makeRule` previously only took the matcher and edit(s). This
change adds (optional) support for the explanation.

Reviewers: ilya-biryukov

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D62390

llvm-svn: 361643
2019-05-24 15:11:45 +00:00
..
Extract Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Rename [Lookup] Invisible decls should not be ambiguous when renaming. 2019-04-15 08:46:34 +00:00
ASTSelection.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ASTSelectionRequirements.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AtomicChange.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CMakeLists.txt [LibTooling] Add RangeSelector library for defining source ranges based on bound AST nodes. 2019-05-20 13:15:14 +00:00
RangeSelector.cpp [LibTooling] Fix dangling references in RangeSelector. 2019-05-23 17:11:33 +00:00
RefactoringActions.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SourceCode.cpp [LibTooling] Add "SourceCode" library for functions relating to source-code manipulation. 2019-04-05 14:05:03 +00:00
Stencil.cpp [LibTooling] Update Stencil to use RangeSelector 2019-05-22 18:03:00 +00:00
Transformer.cpp [LibTooling] Add Explanation parameter to `makeRule`. 2019-05-24 15:11:45 +00:00