[LLVMdev] ParseError::getMessage() API.

Chris Lattner clattner at apple.com
Fri Jan 16 12:27:08 PST 2009


On Jan 13, 2009, at 9:30 AM, Mahadevan R wrote:

> Hi,
>
> The method ParseError::getMessage() seems to have got deleted from
> lib/AsmParser/Parser.cpp during the parser rewrite. Right now it's
> there in the header (include/llvm/Assembly/Parser.h) but not in
> lib/AsmParser/Parser.cpp.

Fixed, sorry!

> Is this API still valid? Or is it PrintError() that's meant to be  
> used?

PrintError is preferred.  You can also use getRawMessage.

-Chris



More information about the llvm-dev mailing list