[all-commits] [llvm/llvm-project] 397720: [COFF] Use Expected in COFFObjectFile creation
Reid Kleckner via All-commits
all-commits at lists.llvm.org
Fri May 8 14:24:48 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 39772063f513ef24729ed9f20830e887d89459b6
https://github.com/llvm/llvm-project/commit/39772063f513ef24729ed9f20830e887d89459b6
Author: Reid Kleckner <rnk at google.com>
Date: 2020-05-08 (Fri, 08 May 2020)
Changed paths:
M llvm/include/llvm/Object/COFF.h
M llvm/lib/Object/COFFObjectFile.cpp
M llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
Log Message:
-----------
[COFF] Use Expected in COFFObjectFile creation
The constructor error out parameter was a bit awkward. Wrap it in a
factory method which can return an error. Make the constructor private.
More information about the All-commits
mailing list