Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rtags fails to index lambda capture variables #1424

Open
Jacob-Burckhardt opened this issue Sep 29, 2021 · 0 comments
Open

rtags fails to index lambda capture variables #1424

Jacob-Burckhardt opened this issue Sep 29, 2021 · 0 comments

Comments

@Jacob-Burckhardt
Copy link

When rtags-find-references-at-point is run on captureVar in the below code, it says "No results". Please make it find the result in the code that says "return captureVar".

struct Parent {
   int joe() {
      return [captureVar=member](){ return captureVar; }();
   }

   int member;
};

int main() {
   return Parent{}.joe();
}

Environment (please complete the following information):

  • OS/Version: Debian 11
  • RTags(rdm,rc): 2.41.134
  • Emacs: 27.1
  • LLVM/Clang: Debian clang version 11.0.1-2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant