- when a method is not available because of the target value kind (e.g. an && method on a Foo& variable), then don't offer it.
- when a method is effectively shadowed by another method from the same class with a) an identical argument list and b) superior qualifiers, then don't offer it.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Sema/SemaCodeComplete.cpp | ||
---|---|---|
1300 ↗ | (On Diff #201910) | Won't this crash on Method->getName()? Could we add a test for that? |
1308 ↗ | (On Diff #201910) | Could you add a comment that we modify previously added results here? |
Comment Actions
Handle methods without "normal" identifier names.
Add comments.
Trigger in both directions (dominated and dominated-by).
Comment Actions
Oops, we weren't handling the case when the newly-added overload is dominated by an existing one. Fixed.
lib/Sema/SemaCodeComplete.cpp | ||
---|---|---|
1300 ↗ | (On Diff #201910) | Right! Fixed and test added. We now no longer hash the strings which is nice too. |
Comment Actions
LGTM
lib/Sema/SemaCodeComplete.cpp | ||
---|---|---|
1314 ↗ | (On Diff #202441) | A leftover debug output. Please remove before landing |