mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
bug 89396
when deciding whether or not to check the whole class scope, if the name is a qualified name segement, use the property of the qualified name instead
This commit is contained in:
parent
df814fefe9
commit
d151e913f6
1 changed files with 2 additions and 0 deletions
|
@ -236,6 +236,8 @@ public class CPPSemantics {
|
|||
if( astName == null ) return false;
|
||||
if( astName.getPropertyInParent() == STRING_LOOKUP_PROPERTY ) return true;
|
||||
ASTNodeProperty prop = astName.getPropertyInParent();
|
||||
if( prop == ICPPASTQualifiedName.SEGMENT_NAME )
|
||||
prop = astName.getParent().getPropertyInParent();
|
||||
if( prop == IASTIdExpression.ID_NAME ||
|
||||
prop == IASTFieldReference.FIELD_NAME ||
|
||||
prop == ICASTFieldDesignator.FIELD_NAME ||
|
||||
|
|
Loading…
Add table
Reference in a new issue