Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Time | Test | |
---|---|---|
50 ms | LLVM.tools/llvm-ar::Unknown Unit Message ("") |
Event Timeline
LGTM, thanks!
clang-tools-extra/clangd/FindTarget.cpp | ||
---|---|---|
646 | This looks misindented. Could you clang-format? |
clang-tools-extra/clangd/unittests/FindTargetTests.cpp | ||
---|---|---|
844 | Could you also add a test with the initializer containing a base class? It produces a different kind of CXXConstructorInitializer |
Build result: fail - 33623 tests passed, 1 failed and 462 were skipped.
failed: LLVM.tools/llvm-ar/mri-utf8.test
Log files: cmake-log.txt, ninja_check_all-log.txt, CMakeCache.txt
- fix some issues in the existing implementation;
- add tests for base/delegating initializer;
Done.
clang-tools-extra/clangd/unittests/FindTargetTests.cpp | ||
---|---|---|
844 | Done. While adding more tests, I discover some issues in the implementation, also fixed them in this patch, please review the patch again. |
Build result: fail - 59521 tests passed, 1 failed and 805 were skipped.
failed: LLVM.tools/llvm-ar/mri-utf8.test
Log files: cmake-log.txt, ninja_check_all-log.txt, CMakeCache.txt
clang-tools-extra/clangd/FindTarget.cpp | ||
---|---|---|
677 | I believe base initializers are the only ones left, but the comment suggests there are more cases. Maybe change to: // Base initializers are handled by visting the type loc. Or am I missing something? |
clang-tools-extra/clangd/FindTarget.cpp | ||
---|---|---|
677 | there are others, delegating initializers. |
clang-tools-extra/clangd/FindTarget.cpp | ||
---|---|---|
677 | Ah, interesting... Could we add them to the tests too? |
clang-tools-extra/clangd/FindTarget.cpp | ||
---|---|---|
677 | it has been added in the tests already, without the change here, the test will trigger the assert(CCI->isAnyMemberInitializer());. // delegating initializer class $10^Foo { $11^Foo(int$12^); $13^Foo(): $14^Foo(111) {} }; |
Build result: fail - 59521 tests passed, 1 failed and 805 were skipped.
failed: LLVM.tools/llvm-ar/mri-utf8.test
Log files: cmake-log.txt, ninja_check_all-log.txt, CMakeCache.txt
This looks misindented. Could you clang-format?