Community
Participate
Working Groups
Currently, if a completion is executed for a class scoped reference, only the class's declared methods are considered for proposals. Static fields and nested classes should also be considered. Failing tests: CompletionTest_ScopedReference_NonCodeScope CompletionTest_VariableType_NestedPrefix
Created attachment 57916 [details] proposed patch CPPASTQualifiedName.resolvePrefix() finds bindings for these cases. This patch makes this method look through the class's fields and nested classes for appropriate bindings.
Patch looks good.
Applied to HEAD. Thanks!