get initial value from AST node

If I have VarDecl object that is integer declaration, How can I get initial value from it?

If It’s array of integer declaration, How can I get initial value of each elements?

Thanks in advance

If I have VarDecl object that is integer declaration, How can I get initial value from it?

VarDecl::getAnyInitializer()

If It's array of integer declaration, How can I get initial value of each elements?

Also VarDecl::getAnyInitializer().

John.