[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:52:42 PST 2018


ilya-biryukov updated this revision to Diff 133593.
ilya-biryukov marked 4 inline comments as done.
ilya-biryukov added a comment.

- Removed assert that is now redundant
- Moved EXPECT_ERROR to Matchers.h
- Added more context into EXPECT_ERROR's error message


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D43122

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

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


More information about the cfe-commits mailing list