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. Is this API still valid? Or is it PrintError() that's meant to be used? Thanks & Regards, -Mahadevan.
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