SourceRange and its end

Hi,
I would like to get the end of an expression, for example during a
visit for a binary operator:

Expr const *lhs = node->getLHS();
SourceLocation loc = lhs->getSourceRange().getEnd();
clang::PresumedLoc ploc = sm.getPresumedLoc(loc);
size_t column = sm.getSpellingColumnNumber(loc)

I got only the beginning of the expression (i.e. the beginning == the
end), how can I get the end or the size of the expression ?

Thank you !

Hi Thomas,

Please see:
http://clang.llvm.org/docs/InternalsManual.html#SourceRange

-Chris