https://llvm.org/bugs/show_bug.cgi?id=24329
Bug ID: 24329 Summary: Code completion in derived class marks protected members from base class as inaccessible Product: clang Version: trunk Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: libclang Assignee: unassignedclangb...@nondot.org Reporter: kalinichev.s...@gmail.com CC: kli...@google.com, llvmbugs@cs.uiuc.edu Classification: Unclassified Test code to reproduce the issue: class Base { protected: int m_protected; }; class Derived: public Base { public: void function(){ // Here m_protected has CXAvailability_NotAccessible availability } }; Using: "c-index-test -code-completion-at=test.cpp:9:7 test.cpp | grep m_protected" gives: FieldDecl:{ResultType int}{TypedText m_protected} (37) (inaccessible) -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ LLVMbugs mailing list LLVMbugs@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs