[PATCH] D87257: [clang] Traverse init-captures while indexing

Nathan Ridge via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Sep 20 15:46:41 PDT 2020


nridge added a comment.

In D87257#2260499 <https://reviews.llvm.org/D87257#2260499>, @hokein wrote:

> In D87257#2260022 <https://reviews.llvm.org/D87257#2260022>, @nridge wrote:
>
>> 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.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87257/new/

https://reviews.llvm.org/D87257



More information about the cfe-commits mailing list