This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Test case demonstrating variable template issue
AbandonedPublic

Authored by nridge on Apr 21 2019, 2:11 PM.

Details

Reviewers
None
Summary

This is not meant to be committed, it's meant to demonstrate an
issue with using RecursiveASTVisitor with TestTU on code that contains a
top-level variable template.

The variable template declaration is never visited, for reasons I don't
fully understand.

Event Timeline

nridge created this revision.Apr 21 2019, 2:11 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 21 2019, 2:12 PM

Please see further details in this clangd-dev post.

nridge abandoned this revision.Oct 12 2020, 4:34 PM

Fixed by D89098.