http://llvm.org/bugs/show_bug.cgi?id=20220
Bug ID: 20220
Summary: Code completion reports protected C++ members of a
base class as inaccessible
Product: new-bugs
Version: unspecified
Hardware: Macintosh
OS: All
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
When a C++ class inherits protected members from its base class, they are not
offered for code completion. The author of CodeLite says that
clang_getCompletionAvailability(str)
returns that "str" is unavailable if "str" was declared protected. He asked me
to report the bug here. Apple's Xcode also displays protected members as
inaccessible, but in contrast to CodeLite, they are still shown and selectable.
Example:
class A
{
protected:
int veryLongName;
};
class B : public A
{
void fn()
{
ver // ask for code completion here
}
}
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs