search for: errlineno

Displaying 1 result from an estimated 1 matches for "errlineno".

Did you mean: curlineno
2011 Feb 04
1
[LLVMdev] PareAssemblyFile returning "expected top-level entity" error message
...ParseAssemblyFile("code.s", error, getGlobalContext()); displayErrorInfo(error); void displayErrorInfo(SMDiagnostic& err) { std::string errFileName = err.getFilename(); std::string errMsg = err.getMessage(); std::string errLineContents = err.getLineContents(); int errLineNo = err.getLineNo(), errColNo = err.getColumnNo(); std::cout << "Error File Name: "<< errFileName << std::endl; std::cout << "Error Message: " << errMsg << std::endl; std::cout << "Error Line number: " << errLin...