]> granicus.if.org Git - clang/commit
[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)
commitdab11d229ee185c3de47a06dd1fb1ec84490be63
tree89dccbea44cddf692431e133a98d4d9803be7871
parent2c6e8f835e59a422610ae87a617dd3eedece9dc7
[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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@316104 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Tooling/Refactoring/ASTSelection.h
lib/Tooling/Refactoring/ASTSelection.cpp
unittests/Tooling/ASTSelectionTest.cpp