This can happen if the CompileCommand provided by compilation database
is malformed.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
just nits
| clangd/ClangdUnit.cpp | ||
|---|---|---|
| 417 ↗ | (On Diff #133590) | remove? |
| unittests/clangd/ClangdTests.cpp | ||
| 47 ↗ | (On Diff #133590) | doc that this consumes Expected<T> |
| 48 ↗ | (On Diff #133590) | This helper should go in Matchers.h I think |
| 52 ↗ | (On Diff #133590) | More context: << " from " << #expectedValue << " but got " << ::testing::PrintToString(*ComputedValue) (please check the error message works!) |
Comment Actions
- Removed assert that is now redundant
- Moved EXPECT_ERROR to Matchers.h
- Added more context into EXPECT_ERROR's error message