references heuristic

Fangrui Song 2018-04-08 10:17:48 -07:00
parent 1051145ce3
commit ad99236a5d

1
FAQ.md

@ -156,6 +156,7 @@ For reference, read [Valloric/ycmd#892](https://github.com/Valloric/ycmd/issues/
* <code><kbd>#include &lt;iostream&gt;</kbd></code> lists all `#include` lines in the project pointing to the included file
* <code><kbd>&#91;&#93;(){}</kbd></code> lists all(?) lambda expressions thanks to implicit `std::function` move constructor
* <code>extern int <kbd>a</kbd>;</code> If `ReferenceContext.includeDeclaration` is true, the definition and declarations are also listed.
* If no references is found but the point is on the first line, list `#include` lines referencing current file.
### `$ccls/base`