[PATCH] D44423: [clangd] Use the macro name range as the definition range.

2018-03-13 Thread Haojian Wu via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rCTE327401: [clangd] Use the macro name range as the definition range. (authored by hokein, committed by ). Changed prior to commit: https://reviews.llvm.org/D44423?vs=138163=138189#toc Repository:

[PATCH] D44423: [clangd] Use the macro name range as the definition range.

2018-03-13 Thread Haojian Wu via Phabricator via cfe-commits
hokein created this revision. hokein added a reviewer: sammccall. Herald added subscribers: ioeric, jkorous-apple, ilya-biryukov, klimek. This also aligns with the behavior of declarations. Repository: rCTE Clang Tools Extra https://reviews.llvm.org/D44423 Files: clangd/XRefs.cpp