[PATCH] D48938: [clangd] Track origins of symbols (various indexes, Sema).

2018-07-05 Thread Sam McCall via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rCTE336309: [clangd] Track origins of symbols (various indexes, Sema). (authored by sammccall, committed by ). Changed prior to commit: https://reviews.llvm.org/D48938?vs=154105=154168#toc Repository:

[PATCH] D48938: [clangd] Track origins of symbols (various indexes, Sema).

2018-07-05 Thread Sam McCall via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. sammccall marked an inline comment as done. Closed by commit rL336309: [clangd] Track origins of symbols (various indexes, Sema). (authored by sammccall, committed by ). Herald added a subscriber: llvm-commits. Changed

[PATCH] D48938: [clangd] Track origins of symbols (various indexes, Sema).

2018-07-04 Thread Eric Liu via Phabricator via cfe-commits
ioeric accepted this revision. ioeric added a comment. This revision is now accepted and ready to land. lgtm. neat! Comment at: clangd/index/Index.cpp:50 +return OS << "unknown"; + static char Sigils[] = "ADSM4567"; + for (unsigned I = 0; I < sizeof(Sigils); ++I)

[PATCH] D48938: [clangd] Track origins of symbols (various indexes, Sema).

2018-07-04 Thread Sam McCall via Phabricator via cfe-commits
sammccall created this revision. sammccall added a reviewer: ioeric. Herald added subscribers: cfe-commits, jkorous, MaskRay, ilya-biryukov. Surface it in the completion items C++ API, and when a flag is set. Repository: rCTE Clang Tools Extra https://reviews.llvm.org/D48938 Files: