<div dir="ltr"><div><div><div><div><div>Hello,<br><br></div>I have recently started clangd and had immediate success. However my project has a dependency which makes good use of c++14 return type deduction for functions, which when used create errors that prevent me from using the "go to definition" feature in my IDE. Here is a minimal example containing two files:<br><br></div>-- main.cpp --<br><br>#include "util.h"<br><br>template <typename T><br>auto fooa(T a) { return a; }<br><br>int main() {<br>    fooa(0); // ok<br>    foob(0); // ok<br>    fooc(0); // error: function 'fooc<int>' with deduced<br>             // return type cannot be used before<br>             // it is defined<br>    return 0;<br>}<br><br>-- util.h -- <br><br>template <typename T><br>auto foob(T a) -> decltype(a) { return a; }<br><br>template <typename T><br>auto fooc(T a) { return a; }<br><br></div>--<br><br></div>Is this a known limitation, or a bad configuration on my part? I'm using a packaged version of clang-tools referencing svn331828.<br><br></div>Ray<br></div>