Hi,
I was writing main.cpp file for command line argument . I am facing this error:
error: ‘class llvm::Expected<std::unique_ptrllvm::Module >’ has no member named ‘getError’
if (error_code ec = m.getError())
I do not which member does this expecting. Please suggest me steps. Here is my source code.