diff options
author | Haojian Wu <hokein@google.com> | 2017-10-10 09:00:56 +0000 |
---|---|---|
committer | Haojian Wu <hokein@google.com> | 2017-10-10 09:00:56 +0000 |
commit | eac034b992d38eaadd33a9540e0fda6ae059fcd5 (patch) | |
tree | 7e291ad4026e1b3900ef5c920e3ed6f7d6a7578d /clang/docs/RefactoringEngine.rst | |
parent | 7bf866eb10411d6ee20b93cb368a580797e1cdd0 (diff) | |
download | bcm5719-llvm-eac034b992d38eaadd33a9540e0fda6ae059fcd5.tar.gz bcm5719-llvm-eac034b992d38eaadd33a9540e0fda6ae059fcd5.zip |
Fix small nits in clang-refactor doc.
llvm-svn: 315286
Diffstat (limited to 'clang/docs/RefactoringEngine.rst')
-rw-r--r-- | clang/docs/RefactoringEngine.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/docs/RefactoringEngine.rst b/clang/docs/RefactoringEngine.rst index 581493fe400..e0d16ef437c 100644 --- a/clang/docs/RefactoringEngine.rst +++ b/clang/docs/RefactoringEngine.rst @@ -41,7 +41,7 @@ outline of a ``local-rename`` action: public: StringRef getCommand() const override { return "local-rename"; } - StringRef getDescription() const override { + StringRef getDescription() const override { return "Finds and renames symbols in code with no indexer support"; } @@ -143,7 +143,7 @@ list of action rules using the following code: Rules.push_back( createRefactoringActionRule<DeleteSelectedRange>( SourceRangeSelectionRequirement()) - ) + ); The ``createRefactoringActionRule`` function takes in a list of refactoring action rule requirement values. These values describe the initiation |