Details
Details
- Reviewers
 hokein sammccall - Commits
 - rG278e2d1a2601: [clangd] Add a fallback directory for collected symbols with relative paths.
rL323658: [clangd] Add a fallback directory for collected symbols with relative paths.
rCTE323658: [clangd] Add a fallback directory for collected symbols with relative paths. 
Diff Detail
Diff Detail
- Repository
 - rL LLVM
 
Event Timeline
| clangd/global-symbol-builder/GlobalSymbolBuilderMain.cpp | ||
|---|---|---|
| 41 ↗ | (On Diff #131771) | I have trouble understanding this. "fallback dir" is maybe too vague a name for this flag - "assume-header-directory" or "header-base-dir" or something? The description assumes some context about the problem - can we provide it? The index includes the header that a symbol is defined in. If the absolute path cannot be determined (e.g. an in-memory VFS) then the relative path is resolved against this directory, which must be absolute. If this flag is not given, such headers will have relative paths.  | 
| 42 ↗ | (On Diff #131771) | nit: i.e -> e.g  | 
| 113 ↗ | (On Diff #131771) | wrong flag name :-)  | 
| clangd/global-symbol-builder/GlobalSymbolBuilderMain.cpp | ||
|---|---|---|
| 41 ↗ | (On Diff #131771) | Thanks for the suggestion! Let's go with --assume-header-dir.  |