1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +02:00

Added comment.

This commit is contained in:
John Camelon 2005-02-09 00:18:19 +00:00
parent db13892245
commit 460f23dca9

View file

@ -102,6 +102,7 @@ public class CASTTranslationUnit extends CASTNode implements IASTTranslationUnit
* @see org.eclipse.cdt.core.dom.ast.IASTTranslationUnit#getDeclarations(org.eclipse.cdt.core.dom.ast.IBinding)
*/
public IASTName[] getDeclarations(IBinding binding) {
//TODO if binding is macro, circumvent the visitor
return CVisitor.getDeclarations(this, binding);
}
@ -109,6 +110,7 @@ public class CASTTranslationUnit extends CASTNode implements IASTTranslationUnit
* @see org.eclipse.cdt.core.dom.ast.IASTTranslationUnit#getReferences(org.eclipse.cdt.core.dom.ast.IBinding)
*/
public IASTName[] getReferences(IBinding binding) {
//TODO if binding is macro, circumvent the visitor
return CVisitor.getReferences( this, binding );
}