Revert "[AST] Traverse the class type loc inside the member type loc."
authorSterling Augustine <saugustine@google.com>
Fri, 6 Dec 2019 00:16:08 +0000 (16:16 -0800)
committerSterling Augustine <saugustine@google.com>
Fri, 6 Dec 2019 00:48:18 +0000 (16:48 -0800)
commit6470497817eafe3fe2d15e11ade78fd99753d7ca
tree68066d6f0898d7d66b2105dfbb4e6352008e0870
parent54a3c2a81e1a0ff970705008e9285ea3ada4ef3e
Revert "[AST] Traverse the class type loc inside the member type loc."

This reverts commit 7f93cb62280a73e3e899d49c45be8bfbac634b7d.

The assertion at RecursiveASTVisitor.h:1169 fails when passed a TypeLocNode.
Not sure if the correct fix is to use getTypeLocClass or something else.
clang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
clang/include/clang/AST/RecursiveASTVisitor.h
clang/unittests/Tooling/CMakeLists.txt
clang/unittests/Tooling/RecursiveASTVisitorTests/MemberPointerTypeLoc.cpp [deleted file]