FixIt don't switch to arrow in derrived members with using
Example code:
struct Bar { void foo(); }; struct Baz { using Bar::foo; }; void test(Baz* ptr) { ptr.^ }
Paths
| Differential D131088
[clang] Apply FixIts to members declared via `using` in derived classes ClosedPublic Authored by denis-fatkulin on Aug 3 2022, 12:05 PM.
Details Summary FixIt don't switch to arrow in derrived members with using Example code: struct Bar { void foo(); }; struct Baz { using Bar::foo; }; void test(Baz* ptr) { ptr.^ }
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptAug 3 2022, 12:05 PM Comment Actions thanks lgtm!
This revision is now accepted and ready to land.Aug 8 2022, 9:21 AM Comment Actions looks like you've uploaded the diff without context, can you upload it again with full context? also the changes to MaybeAddResult seem to be missing. Closed by commit rG8837ef4d373b: [clang] Apply FixIts to members declared via `using` in derived classes (authored by denis-fatkulin, committed by kadircet). · Explain WhyAug 17 2022, 1:13 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 449733 clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp
clang/lib/Sema/SemaCodeComplete.cpp
clang/test/CodeCompletion/member-access.cpp
|
clang-format not found in user’s local PATH; not linting file.