aboutsummaryrefslogtreecommitdiff
path: root/clang-tools-extra/clangd/index/Background.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/clangd/index/Background.h')
-rw-r--r--clang-tools-extra/clangd/index/Background.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang-tools-extra/clangd/index/Background.h b/clang-tools-extra/clangd/index/Background.h
index 9f9b1b7..9adad17 100644
--- a/clang-tools-extra/clangd/index/Background.h
+++ b/clang-tools-extra/clangd/index/Background.h
@@ -56,9 +56,9 @@ public:
using Factory = llvm::unique_function<BackgroundIndexStorage *(PathRef)>;
// Creates an Index Storage that saves shards into disk. Index storage uses
- // CDBDirectory + ".clangd/index/" as the folder to save shards. CDBDirectory
- // is the first directory containing a CDB in parent directories of a file, or
- // user's home directory if none was found, e.g. standard library headers.
+ // CDBDirectory + ".cache/clangd/index/" as the folder to save shards.
+ // CDBDirectory is the first directory containing a CDB in parent directories
+ // of a file, or user cache directory if none was found, e.g. stdlib headers.
static Factory createDiskBackedStorageFactory(
std::function<llvm::Optional<ProjectInfo>(PathRef)> GetProjectInfo);
};