Some questions about iterating over decls and types

Given a FunctionDecl, is there a way to iterate over the overloaded functions of a given name?

Given an array declaration QualType, how do I get the type of the array elements?

Thanks.

-John

Given a FunctionDecl, is there a way to iterate over the overloaded functions of a given name?

Perform name lookup in its context with FD->getDeclContext()->lookup(FD->getDeclName()).

Given an array declaration QualType, how do I get the type of the array elements?

Context.getAsArrayType(QT)->getElementType()

  - Doug