]> granicus.if.org Git - clang/commit
[clang-refactor] Add "-Inplace" option to the commandline tool.
authorHaojian Wu <hokein@google.com>
Fri, 20 Oct 2017 12:37:16 +0000 (12:37 +0000)
committerHaojian Wu <hokein@google.com>
Fri, 20 Oct 2017 12:37:16 +0000 (12:37 +0000)
commitd6aede0fad127fa8eedd339e9594bf30cbd98294
treec1c1943bd1c6d2b935275eac90fcf96040c6b200
parenta312801e78a7627965158838eae1fb9a10487af7
[clang-refactor] Add "-Inplace" option to the commandline tool.

Summary:
Change clang-refactor default behavior to print the new code after refactoring
(instead of editing the source files), which would make it easier to use
and debug the refactoring action.

Reviewers: arphaman, ioeric

Reviewed By: arphaman

Subscribers: cfe-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@316212 91177308-0d34-0410-b5e6-96231b3b80d8
test/Refactor/tool-apply-replacements.cpp
tools/clang-refactor/ClangRefactor.cpp