]> granicus.if.org Git - clang/commit
Recommit r312127: [refactor] AST selection tree should contain syntactic
authorAlex Lorenz <arphaman@gmail.com>
Wed, 30 Aug 2017 15:28:01 +0000 (15:28 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Wed, 30 Aug 2017 15:28:01 +0000 (15:28 +0000)
commit372f6de315f595de2447aba414265588525e8adc
tree0041c67e65de36f8afb78065cd1946ee66c07ddc
parent4ad0f6316a7ab5616c300986bbe9b23712cc9088
Recommit r312127: [refactor] AST selection tree should contain syntactic
form of PseudoObjectExpr

The new commit adjusts unittest test code compilation options so that the
Objective-C code in the unittest can be parsed on non-macOS platforms.

Original message:

The AST selection finder now constructs a selection tree that contains only the
syntactic form of PseudoObjectExpr. This form of selection tree is more
meaningful when doing downstream analysis as we're interested in the syntactic
features of the AST and the correct lexical parent relation.

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