1
0
Fork 0
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:
Sergey Prigogin 2010-09-19 22:21:31 +00:00
parent 57425dde44
commit 8a2e90a915

View file

@ -94,7 +94,7 @@ public class ASTHelper {
return true;
}
public static boolean isClassDeklarationName(IASTName astName) {
public static boolean isClassDeclarationName(IASTName astName) {
if (astName == null)
return false;
IASTNode parent = astName.getParent();
@ -205,7 +205,7 @@ public class ASTHelper {
}
IBinding binding = name.resolveBinding();
for(IASTName aktName : name.getTranslationUnit().getDeclarationsInAST(binding)) {
if(!isClassDeklarationName(aktName)) {
if(!isClassDeclarationName(aktName)) {
return false;
}
}