mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 18:26:01 +02:00
Fixed a typo.
This commit is contained in:
parent
57425dde44
commit
8a2e90a915
1 changed files with 2 additions and 2 deletions
|
@ -94,7 +94,7 @@ public class ASTHelper {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean isClassDeklarationName(IASTName astName) {
|
public static boolean isClassDeclarationName(IASTName astName) {
|
||||||
if (astName == null)
|
if (astName == null)
|
||||||
return false;
|
return false;
|
||||||
IASTNode parent = astName.getParent();
|
IASTNode parent = astName.getParent();
|
||||||
|
@ -205,7 +205,7 @@ public class ASTHelper {
|
||||||
}
|
}
|
||||||
IBinding binding = name.resolveBinding();
|
IBinding binding = name.resolveBinding();
|
||||||
for(IASTName aktName : name.getTranslationUnit().getDeclarationsInAST(binding)) {
|
for(IASTName aktName : name.getTranslationUnit().getDeclarationsInAST(binding)) {
|
||||||
if(!isClassDeklarationName(aktName)) {
|
if(!isClassDeclarationName(aktName)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue