[PATCH] D66074: [clangd] Drop diags from non-written #include.
Hans Wennborg via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 13 04:38:58 PDT 2019
hans added a comment.
In D66074#1624885 <https://reviews.llvm.org/D66074#1624885>, @hokein wrote:
> @hans is there still any chance to merge this patch into the release?
I tried to merge this to release_90, but I got a test failure. Does this rely on more patches that need merging? Can you try applying it to the release branch in the monorepo and see what needs fixing?
$ ninja check-clangd
[7/8] Running the Clangd regression tests
llvm-lit: /work/llvm-9/llvm/utils/lit/lit/llvm/config.py:340: note: using clang: /work/llvm-9/build.release/bin/clang
FAIL: Clangd Unit Tests :: ./ClangdTests/IgnoreDiags.FromNonWrittenInclude (368 of 573)
******************** TEST 'Clangd Unit Tests :: ./ClangdTests/IgnoreDiags.FromNonWrittenInclude' FAILED ********************
Note: Google Test filter = IgnoreDiags.FromNonWrittenInclude
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from IgnoreDiags
[ RUN ] IgnoreDiags.FromNonWrittenInclude
/work/llvm-9/llvm/tools/clang/tools/extra/clangd/unittests/DiagnosticsTests.cpp:945: Failure
Value of: TU.build().getDiagnostics()
Expected: is empty
Actual: { [./a.h:0:0-0:4] 'main' must return 'int' }, which has 1 element
[ FAILED ] IgnoreDiags.FromNonWrittenInclude (20 ms)
[----------] 1 test from IgnoreDiags (20 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (21 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] IgnoreDiags.FromNonWrittenInclude
1 FAILED TEST
Preamble for file /clangd-test/TestTU.cpp cannot be reused. Attempting to rebuild it.
Built preamble of size 201076 for file /clangd-test/TestTU.cpp
********************
Testing Time: 3.92s
********************
Failing Tests (1):
Clangd Unit Tests :: ./ClangdTests/IgnoreDiags.FromNonWrittenInclude
Expected Passes : 569
Unsupported Tests : 3
Unexpected Failures: 1
FAILED: tools/clang/tools/extra/clangd/test/CMakeFiles/check-clangd
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66074/new/
https://reviews.llvm.org/D66074
More information about the cfe-commits
mailing list