[all-commits] [llvm/llvm-project] 647049: Revert "[AST] Traverse the class type loc inside t...

Sterling-Augustine via All-commits all-commits at lists.llvm.org
Thu Dec 5 16:48:39 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6470497817eafe3fe2d15e11ade78fd99753d7ca
      https://github.com/llvm/llvm-project/commit/6470497817eafe3fe2d15e11ade78fd99753d7ca
  Author: Sterling Augustine <saugustine at google.com>
  Date:   2019-12-05 (Thu, 05 Dec 2019)

  Changed paths:
    M clang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
    M clang/include/clang/AST/RecursiveASTVisitor.h
    M clang/unittests/Tooling/CMakeLists.txt
    R clang/unittests/Tooling/RecursiveASTVisitorTests/MemberPointerTypeLoc.cpp

  Log Message:
  -----------
  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.




More information about the All-commits mailing list