mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Cosmetics.
This commit is contained in:
parent
b0e167dd8e
commit
b391b4fac4
1 changed files with 2 additions and 2 deletions
|
@ -132,8 +132,8 @@ public class NodeHelper {
|
|||
IBinding bind = qname.resolveBinding();
|
||||
IASTName[] decl = translationUnit.getDeclarationsInAST(bind);
|
||||
for (IASTName tmpname : decl) {
|
||||
IASTNode methoddefinition = tmpname.getParent().getParent();
|
||||
if (methoddefinition instanceof IASTSimpleDeclaration) {
|
||||
IASTNode methodDefinition = tmpname.getParent().getParent();
|
||||
if (methodDefinition instanceof IASTSimpleDeclaration) {
|
||||
context.setMethodDeclarationName(tmpname);
|
||||
context.setType(MethodContext.ContextType.METHOD);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue