summaryrefslogtreecommitdiff
path: root/tools/lto
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2017-03-30 12:59:53 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2017-03-30 12:59:53 +0000
commit428e69317e7a7875d204a6228b12d6c70db7fc9f (patch)
tree9ec622055595eab63bac589b8a80ad593ed09af2 /tools/lto
parentcac5a6fb064160dde67941a9ab545794a1942163 (diff)
Spelling mistakes in comments. NFCI.
Based on corrections mentioned in patch for clang for PR27635 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299072 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lto')
-rw-r--r--tools/lto/lto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lto/lto.cpp b/tools/lto/lto.cpp
index e28c7aaf526..1b218a64cbf 100644
--- a/tools/lto/lto.cpp
+++ b/tools/lto/lto.cpp
@@ -272,7 +272,7 @@ lto_module_t lto_module_create_in_local_context(const void *mem, size_t length,
lto_initialize();
llvm::TargetOptions Options = InitTargetOptionsFromCodeGenFlags();
- // Create a local context. Ownership will be transfered to LTOModule.
+ // Create a local context. Ownership will be transferred to LTOModule.
std::unique_ptr<LLVMContext> Context = llvm::make_unique<LLVMContext>();
Context->setDiagnosticHandler(diagnosticHandler, nullptr, true);