[ObjC] For type substitution in generics use a regular recursive type visitor.
authorVolodymyr Sapsai <vsapsai@apple.com>
Fri, 15 Feb 2019 22:14:58 +0000 (22:14 +0000)
committerVolodymyr Sapsai <vsapsai@apple.com>
Fri, 15 Feb 2019 22:14:58 +0000 (22:14 +0000)
commit78b84cf991206ebf5f0decdf68552939a8acc44e
tree043d2112a8f3bf9c019b6b407233e62121951735
parent68c6764c20dfc486b9f0283a06b5f44b8c7a69f9
[ObjC] For type substitution in generics use a regular recursive type visitor.

Switch to the inheritance-based visitor from the lambda-based visitor to
allow both preorder and postorder customizations during type
transformation. NFC intended.

Reviewers: ahatanak, erik.pilkington

Reviewed By: erik.pilkington

Subscribers: jkorous, dexonsmith, cfe-commits

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

llvm-svn: 354180
clang/lib/AST/Type.cpp