klimek accepted this revision. klimek added a comment. lg
================ Comment at: lib/Tooling/CompilationDatabase.cpp:312 +FixedCompilationDatabase::loadFromFile(StringRef Path, std::string &ErrorMsg) { + ErrorMsg.clear(); + llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> File = ---------------- sammccall wrote: > klimek wrote: > > I assume we can't use ErrorOr as return value? > Again this mirrors JSONCompilationDatabase. (And also > CompilationDatabasePlugin, which is harder to change) > Change this one, change both, or leave as-is? I think we want to add a FIXME to change the interface. https://reviews.llvm.org/D39799 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits