[PATCH] D78629: [clangd] Look for compilation database in `build` subdirectory of parents.
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 22 05:55:16 PDT 2020
sammccall created this revision.
sammccall added a reviewer: kadircet.
Herald added subscribers: cfe-commits, usaxena95, arphaman, jkorous, MaskRay, ilya-biryukov.
Herald added a project: clang.
This matches the conventional location of cmake build directories.
It also allows creating a `build` symlink, which seems more flexible than the
compile_commands.json symlinks.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D78629
Files:
clang-tools-extra/clangd/GlobalCompilationDatabase.cpp
clang-tools-extra/clangd/unittests/GlobalCompilationDatabaseTests.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78629.259251.patch
Type: text/x-patch
Size: 7359 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200422/4d67ecc0/attachment.bin>
More information about the cfe-commits
mailing list