View | Details | Raw Unified | Return to bug 102754
Collapse All | Expand All

(-)parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPMethod.java (+1 lines)
Lines 140-145 Link Here
140
	 */
140
	 */
141
	public int getVisibility() throws DOMException {
141
	public int getVisibility() throws DOMException {
142
		IASTDeclaration decl = getPrimaryDeclaration();
142
		IASTDeclaration decl = getPrimaryDeclaration();
143
		if (decl == null) return ICPPASTVisiblityLabel.v_private;
143
		IASTCompositeTypeSpecifier cls = (IASTCompositeTypeSpecifier) decl.getParent();
144
		IASTCompositeTypeSpecifier cls = (IASTCompositeTypeSpecifier) decl.getParent();
144
		IASTDeclaration [] members = cls.getMembers();
145
		IASTDeclaration [] members = cls.getMembers();
145
		ICPPASTVisiblityLabel vis = null;
146
		ICPPASTVisiblityLabel vis = null;

Return to bug 102754