Andersbakken / rtags

A client/server indexer for c/c++/objc[++] with integration for Emacs based on clang.
http://www.rtags.net
GNU General Public License v3.0
1.82k stars 253 forks source link

fails to find call to method on object of type "auto" #1429

Open Jacob-Burckhardt opened 2 years ago

Jacob-Burckhardt commented 2 years ago

When the cursor is placed on "joe", and rtags-find-references-at-point is run, rtags fails to find the call in the lambda body:

struct Blob {
   int joe() {
      return [](auto blob){ return blob.joe(); } (Blob{});
   }
};

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

Expected behavior Make it find the call in the lambda body.

Environment (please complete the following information):