[PATCH] D58440: [clangd] Store index in '.clangd/index' instead of '.clangd-index'
Kadir Cetinkaya via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 20 08:38:11 PST 2019
kadircet accepted this revision.
kadircet added a comment.
This revision is now accepted and ready to land.
Thanks!
================
Comment at: clang-tools-extra/clangd/index/BackgroundIndexStorage.cpp:75
llvm::SmallString<128> CDBDirectory(Directory);
- llvm::sys::path::append(CDBDirectory, ".clangd-index/");
+ llvm::sys::path::append(CDBDirectory, ".clangd", "index/");
DiskShardRoot = CDBDirectory.str();
----------------
NIT: it looks like we don't need the "/" at the end of "index/"
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58440/new/
https://reviews.llvm.org/D58440
More information about the cfe-commits
mailing list