llvm-project/clang-tools-extra/clangd/index
Haojian Wu b018906051 [clangd] Better handling symbols defined in macros.
Summary:
For symbols defined inside macros:
 * use expansion location, if the symbol is formed via macro concatenation.
 * use spelling location, otherwise.

This will fix some symbols that have ill-format location (especial invalid filepath).

Reviewers: ioeric

Reviewed By: ioeric

Subscribers: klimek, ilya-biryukov, jkorous-apple, cfe-commits

Differential Revision: https://reviews.llvm.org/D42575

llvm-svn: 323867
2018-01-31 12:56:51 +00:00
..
FileIndex.cpp [clangd] Code completion uses Sema for NS-level things in the current file. 2018-01-12 18:30:08 +00:00
FileIndex.h [clangd] Simplify code. No functionality change intended. 2017-12-28 14:47:01 +00:00
Index.cpp [clangd] Improve const-correctness of Symbol->Detail. NFC 2018-01-15 20:09:09 +00:00
Index.h [clangd] Change index scope convention from "outer::inner" to "outer::inner::" 2018-01-19 22:18:21 +00:00
MemIndex.cpp [clangd] Use fuzzy match to select top N index results. 2018-01-18 08:35:04 +00:00
MemIndex.h [clangd] Add static index for the global code completion. 2018-01-10 14:44:34 +00:00
Merge.cpp [clangd] Limit completion results. 2018-01-25 09:20:09 +00:00
Merge.h [clangd] Merge results from static/dynamic index. 2018-01-15 12:33:00 +00:00
SymbolCollector.cpp [clangd] Better handling symbols defined in macros. 2018-01-31 12:56:51 +00:00
SymbolCollector.h [clangd] Add a fallback directory for collected symbols with relative paths. 2018-01-29 15:13:29 +00:00
SymbolYAML.cpp [clangd] Improve const-correctness of Symbol->Detail. NFC 2018-01-15 20:09:09 +00:00
SymbolYAML.h [clangd] Use ToolExecutor to write the global-symbol-builder tool. 2018-01-09 15:21:45 +00:00