diff options
| author | bors <bors@rust-lang.org> | 2018-07-31 13:32:32 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-07-31 13:32:32 +0000 |
| commit | f89817997ac0aa100bf91997194ad85a7e59f743 (patch) | |
| tree | 53fdd03057783bec2884b091f5d02bce10313894 /src/rustllvm/ArchiveWrapper.cpp | |
| parent | ed8d14db99fc79909274454c02073bc5bd0c0df2 (diff) | |
| parent | baff67d51f691734ecee0faa83acee91ec16cc5d (diff) | |
| download | rust-f89817997ac0aa100bf91997194ad85a7e59f743.tar.gz rust-f89817997ac0aa100bf91997194ad85a7e59f743.zip | |
Auto merge of #52461 - irinagpopa:safe-llvm, r=nikomatsakis
rustc_codegen_llvm: use safe references for LLVM FFI types. Part of #45274.
Diffstat (limited to 'src/rustllvm/ArchiveWrapper.cpp')
| -rw-r--r-- | src/rustllvm/ArchiveWrapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rustllvm/ArchiveWrapper.cpp b/src/rustllvm/ArchiveWrapper.cpp index 93157cd6819..49a4962858c 100644 --- a/src/rustllvm/ArchiveWrapper.cpp +++ b/src/rustllvm/ArchiveWrapper.cpp @@ -148,7 +148,7 @@ LLVMRustArchiveChildName(LLVMRustArchiveChildConstRef Child, size_t *Size) { #if LLVM_VERSION_GE(4, 0) Expected<StringRef> NameOrErr = Child->getName(); if (!NameOrErr) { - // rustc_llvm currently doesn't use this error string, but it might be + // rustc_codegen_llvm currently doesn't use this error string, but it might be // useful in the future, and in the mean time this tells LLVM that the // error was not ignored and that it shouldn't abort the process. LLVMRustSetLastError(toString(NameOrErr.takeError()).c_str()); |
