This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Fix SelectionTree traversal of qualified types
ClosedPublic

Authored by sammccall on Jul 22 2019, 9:25 AM.

Details

Summary

QualifiedTypeLoc isn't treated like a regular citizen by RecursiveASTVisitor.
This meant we weren't intercepting the traversal of its inner TypeLoc.

Most of the changes here are about exposing kind() so we can improve the
precision of our tests.

This should fix the issue raised in D65067.

Diff Detail

Repository
rL LLVM

Event Timeline

sammccall created this revision.Jul 22 2019, 9:25 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 22 2019, 9:25 AM
hokein accepted this revision.Jul 23 2019, 12:54 AM
This revision is now accepted and ready to land.Jul 23 2019, 12:54 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJul 24 2019, 2:41 AM