[PATCH] D43122: [clangd] Fix crash when CompilerInvocation can't be created.

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 9 05:20:33 PST 2018


ilya-biryukov created this revision.
ilya-biryukov added reviewers: hokein, ioeric, sammccall.
Herald added subscribers: jkorous-apple, klimek.

This can happen if the CompileCommand provided by compilation database
is malformed.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D43122

Files:
  clangd/ClangdUnit.cpp
  clangd/CodeComplete.cpp
  unittests/clangd/ClangdTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43122.133590.patch
Type: text/x-patch
Size: 4216 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180209/019e4ff9/attachment.bin>


More information about the cfe-commits mailing list