This is an archive of the discontinued LLVM Phabricator instance.

[clang] Traverse init-captures while indexing
ClosedPublic

Authored by nridge on Sep 7 2020, 5:11 PM.

Diff Detail

Event Timeline

nridge created this revision.Sep 7 2020, 5:11 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 7 2020, 5:11 PM
nridge requested review of this revision.Sep 7 2020, 5:11 PM

I did try to add a test to clang/test/Index/Core/index-source.cpp, however the output of c-index-test does not seem to be changed by adding this reference.

nridge updated this revision to Diff 290379.Sep 7 2020, 5:13 PM

Fix typo

hokein added a comment.Sep 8 2020, 1:36 AM

I did try to add a test to clang/test/Index/Core/index-source.cpp, however the output of c-index-test does not seem to be changed by adding this reference.

Could you check clang/test/Index/cxx14-lambdas.cpp, looks like that file is testing lambda.

I did try to add a test to clang/test/Index/Core/index-source.cpp, however the output of c-index-test does not seem to be changed by adding this reference.

Could you check clang/test/Index/cxx14-lambdas.cpp, looks like that file is testing lambda.

Thank you for the suggestion, I was able to make the test work with cxx14-lambdas.cpp.

nridge updated this revision to Diff 293040.Sep 20 2020, 3:47 PM

Add clang test

hokein accepted this revision.Sep 21 2020, 2:04 AM
This revision is now accepted and ready to land.Sep 21 2020, 2:04 AM
This revision was landed with ongoing or failed builds.Sep 21 2020, 11:32 PM
This revision was automatically updated to reflect the committed changes.