[refactor][extract] code extracted from inline method should be placed
authorAlex Lorenz <arphaman@gmail.com>
Wed, 1 Nov 2017 01:12:56 +0000 (01:12 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Wed, 1 Nov 2017 01:12:56 +0000 (01:12 +0000)
commit61f2c3f58c56b235dd0f04a72a7c05adeeb837d2
treefaca5d8788acc989075b65c31b61ee1e684bfdbe
parentdf00e89cdc39f0275f5b62396dea8f42ed233a13
[refactor][extract] code extracted from inline method should be placed
in a function defined before the outer class

llvm-svn: 317062
clang/lib/Tooling/Refactoring/Extract.cpp
clang/test/Refactor/Extract/FromMethodToFunction.cpp [new file with mode: 0644]