> Note that I don't agree that get_inner_reference (or in this case > get_ref_base_and_extent) should be not called on decls, that only > puts extra burdens on the caller. That routine was originally written by me and the intent (and specification) of it was indeed that it only be called on *references*, not decls.