This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Target member of dependent base made visible via a using-decl
ClosedPublic

Authored by nridge on Aug 16 2020, 11:59 PM.

Diff Detail

Event Timeline

nridge created this revision.Aug 16 2020, 11:59 PM
nridge requested review of this revision.Aug 16 2020, 11:59 PM
nridge updated this revision to Diff 285922.Aug 17 2020, 12:00 AM

Update a comment

Harbormaster completed remote builds in B68571: Diff 285921.

looks mostly good, just a few suggestions on the test.

clang-tools-extra/clangd/FindTarget.cpp
128

nit: use isa.

352

can we have a test for FindTarget? TEST_F(TargetDeclTest, UsingDecl) is an ideal place.

clang-tools-extra/clangd/unittests/XRefsTests.cpp
738

nit: move to Test(LocateSymbol, Alias).

nridge updated this revision to Diff 286198.Aug 17 2020, 9:42 PM
nridge marked 3 inline comments as done.

Address review comments

hokein accepted this revision.Aug 17 2020, 11:48 PM
This revision is now accepted and ready to land.Aug 17 2020, 11:48 PM