Reland "[AST] Traverse the class type loc inside the member type loc.""
authorHaojian Wu <hokein.wu@gmail.com>
Fri, 6 Dec 2019 20:43:02 +0000 (21:43 +0100)
committerHaojian Wu <hokein.wu@gmail.com>
Mon, 9 Dec 2019 10:18:12 +0000 (11:18 +0100)
commit6d5c273500ad8352a061126999235aa71e0056ce
tree6aee7a1910376837dbf4386fe5a72bcd9155502f
parent385ba6065a9f77b4744274a37c97c536f7250701
Reland "[AST] Traverse the class type loc inside the member type loc.""

Summary: added a unittest which causes "TL.getClassTInfo" is null.

Reviewers: ilya-biryukov

Subscribers: mgorny, jkorous, arphaman, kadircet, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D71186
clang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
clang/include/clang/AST/RecursiveASTVisitor.h
clang/unittests/Tooling/CMakeLists.txt
clang/unittests/Tooling/RecursiveASTVisitorTests/MemberPointerTypeLoc.cpp [new file with mode: 0644]