mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 16:24:23 +00:00
Remove unused old-style error handling.
If needed, an ErrorOr should be used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212340 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -41,14 +41,11 @@ namespace llvm {
|
||||
LLVMContext &Context,
|
||||
std::string *ErrMsg = nullptr);
|
||||
|
||||
/// getBitcodeTargetTriple - Read the header of the specified bitcode
|
||||
/// buffer and extract just the triple information. If successful,
|
||||
/// this returns a string and *does not* take ownership
|
||||
/// of 'buffer'. On error, this returns "", and fills in *ErrMsg
|
||||
/// if ErrMsg is non-null.
|
||||
/// Read the header of the specified bitcode buffer and extract just the
|
||||
/// triple information. If successful, this returns a string and *does not*
|
||||
/// take ownership of 'buffer'. On error, this returns "".
|
||||
std::string getBitcodeTargetTriple(MemoryBuffer *Buffer,
|
||||
LLVMContext &Context,
|
||||
std::string *ErrMsg = nullptr);
|
||||
LLVMContext &Context);
|
||||
|
||||
/// Read the specified bitcode file, returning the module.
|
||||
/// This method *never* takes ownership of Buffer.
|
||||
|
Reference in New Issue
Block a user