mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Added comment.
This commit is contained in:
parent
db13892245
commit
460f23dca9
1 changed files with 2 additions and 0 deletions
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue