[refactor] selection: new CodeRangeASTSelection represents a set of selected
authorAlex Lorenz <arphaman@gmail.com>
Wed, 18 Oct 2017 18:48:58 +0000 (18:48 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Wed, 18 Oct 2017 18:48:58 +0000 (18:48 +0000)
commitcd6c78386f304e4c9f0122eac7d86354de1bcaca
treeef0298454abfb0fdab94b972c9d9ce4bdad0b21c
parent54ffd1cfe864e1796b37c3f38e5cb82a0a7a7728
[refactor] selection: new CodeRangeASTSelection represents a set of selected
consecutive statements

This commit adds a CodeRangeASTSelection value to the refactoring library. This
value represents a set of selected statements in one body of code.

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

llvm-svn: 316104
clang/include/clang/Tooling/Refactoring/ASTSelection.h
clang/lib/Tooling/Refactoring/ASTSelection.cpp
clang/unittests/Tooling/ASTSelectionTest.cpp