[PATCH] D93220: [clangd] Add error handling (elog) in code completion.

2020-12-28 Thread Adam Czachorowski 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 rG0999408aea79: [clangd] Add error handling (elog) in code completion. (authored by adamcz). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST

[PATCH] D93220: [clangd] Add error handling (elog) in code completion.

2020-12-16 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/CodeComplete.cpp:193 +} else { + elog("Code completion header path manipulation failed {0}", + H

[PATCH] D93220: [clangd] Add error handling (elog) in code completion.

2020-12-16 Thread Adam Czachorowski via Phabricator via cfe-commits
adamcz added inline comments. Comment at: clang-tools-extra/clangd/CodeComplete.cpp:193 +} else { + elog("Code completion header path manipulation failed {0}", + HeaderFile.takeError()); sammccall wrote: > I think this is too noisy.

[PATCH] D93220: [clangd] Add error handling (elog) in code completion.

2020-12-16 Thread Adam Czachorowski via Phabricator via cfe-commits
adamcz updated this revision to Diff 312206. adamcz marked an inline comment as done. adamcz added a comment. address comments Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D93220/new/ https://reviews.llvm.org/D93220 Files: clang-tools-extra/clan

[PATCH] D93220: [clangd] Add error handling (elog) in code completion.

2020-12-15 Thread Sam McCall via Phabricator via cfe-commits
sammccall added inline comments. Comment at: clang-tools-extra/clangd/CodeComplete.cpp:193 +} else { + elog("Code completion header path manipulation failed {0}", + HeaderFile.takeError()); I think this is too noisy. We can hit thi

[PATCH] D93220: [clangd] Add error handling (elog) in code completion.

2020-12-14 Thread Nathan James via Phabricator via cfe-commits
njames93 added inline comments. Comment at: clang-tools-extra/clangd/CodeComplete.cpp:187-188 + if (auto Header = headerToInsertIfAllowed(Opts)) { +auto HeaderFile = toHeaderFile(*Header, FileName); +if (HeaderFile) { if (auto Spelled = ---

[PATCH] D93220: [clangd] Add error handling (elog) in code completion.

2020-12-14 Thread Adam Czachorowski via Phabricator via cfe-commits
adamcz created this revision. Herald added subscribers: usaxena95, kadircet, arphaman. adamcz requested review of this revision. Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov. Herald added a project: clang. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D93220 Fil