[PATCH] D90749: [clangd] Introduce config compilation for External blocks

2020-11-22 Thread Nico Weber via Phabricator via cfe-commits
thakis added a comment. This breaks tests on Windows: http://45.33.8.238/win/28408/step_9.txt Please take a look, and revert for now if it takes a while to fix. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D90749/new/

[PATCH] D90749: [clangd] Introduce config compilation for External blocks

2020-11-22 Thread Kadir Cetinkaya via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rGc9776c8d4ef7: [clangd] Introduce config compilation for External blocks (authored by kadircet). Changed prior to commit:

[PATCH] D90749: [clangd] Introduce config compilation for External blocks

2020-11-10 Thread Kadir Cetinkaya via Phabricator via cfe-commits
kadircet updated this revision to Diff 304064. kadircet marked 7 inline comments as done. kadircet added a comment. - Use ExternalBlock's range for diags. - Move diagnostic emitting to makeAbsolute. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION

[PATCH] D90749: [clangd] Introduce config compilation for External blocks

2020-11-09 Thread Sam McCall via Phabricator via cfe-commits
sammccall accepted this revision. sammccall added inline comments. This revision is now accepted and ready to land. Comment at: clang-tools-extra/clangd/ConfigCompile.cpp:252 + + llvm::Expected makeAbsolute(std::string Path, +

[PATCH] D90749: [clangd] Introduce config compilation for External blocks

2020-11-09 Thread Kadir Cetinkaya via Phabricator via cfe-commits
kadircet updated this revision to Diff 303956. kadircet added a comment. - Define an ExternalIndexSpec structure, and populate that during compile. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D90749/new/ https://reviews.llvm.org/D90749 Files:

[PATCH] D90749: [clangd] Introduce config compilation for External blocks

2020-11-09 Thread Kadir Cetinkaya via Phabricator via cfe-commits
kadircet marked 5 inline comments as done. kadircet added inline comments. Comment at: clang-tools-extra/clangd/ConfigCompile.cpp:256 + diag(Error, "At least one of File or Server must be specified.", + llvm::SMRange()); + return; sammccall

[PATCH] D90749: [clangd] Introduce config compilation for External blocks

2020-11-06 Thread Sam McCall via Phabricator via cfe-commits
sammccall added inline comments. Comment at: clang-tools-extra/clangd/ConfigCompile.cpp:254 +// native path. +if (!External.File && !External.Server) { + diag(Error, "At least one of File or Server must be specified.", My math friends would call

[PATCH] D90749: [clangd] Introduce config compilation for External blocks

2020-11-04 Thread Kadir Cetinkaya via Phabricator via cfe-commits
kadircet created this revision. kadircet added a reviewer: sammccall. Herald added subscribers: cfe-commits, usaxena95, arphaman. Herald added a project: clang. kadircet requested review of this revision. Herald added subscribers: ormris, MaskRay, ilya-biryukov. Compilation logic for External