kadircet accepted this revision. kadircet added a comment. This revision is now accepted and ready to land.
LGTM, thanks! ================ Comment at: unittests/clangd/CodeCompleteTests.cpp:419 +TEST(CompletionTest, SkipInjectedWhenUnqualified) { + EXPECT_THAT(completions("struct X { void f() { X^ }};").Completions, ---------------- Could you also add a test for the inheritance of injected class name? For ex: ``` struct X {}; struct T : private X {}; struct F : public T { X^ <-- this is inavlid and we should not suggest X here, since it is inaccessible. ::X^ <-- this should be Ok. }; ``` Repository: rCTE Clang Tools Extra CHANGES SINCE LAST ACTION https://reviews.llvm.org/D55065/new/ https://reviews.llvm.org/D55065 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits