summaryrefslogtreecommitdiff
path: root/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2013-09-28 01:08:00 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2013-09-28 01:08:00 +0000
commitf625c14487e59aaa7d6c7e548be654de949ecec8 (patch)
tree1a29265c4ba853a66d26c093f1894f2e24329027 /lib/IR/Module.cpp
parent804f034bd18789e9bbf4c70c10189dd6dbf04128 (diff)
downloadllvm-f625c14487e59aaa7d6c7e548be654de949ecec8.tar.gz
llvm-f625c14487e59aaa7d6c7e548be654de949ecec8.tar.bz2
llvm-f625c14487e59aaa7d6c7e548be654de949ecec8.tar.xz
Fix typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191595 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR/Module.cpp')
-rw-r--r--lib/IR/Module.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/IR/Module.cpp b/lib/IR/Module.cpp
index 968b8f4b90..ba4ee7f6a6 100644
--- a/lib/IR/Module.cpp
+++ b/lib/IR/Module.cpp
@@ -245,7 +245,7 @@ GlobalVariable *Module::getGlobalVariable(StringRef Name, bool AllowLocal) {
/// 1. If it does not exist, add a declaration of the global and return it.
/// 2. Else, the global exists but has the wrong type: return the function
/// with a constantexpr cast to the right type.
-/// 3. Finally, if the existing global is the correct delclaration, return the
+/// 3. Finally, if the existing global is the correct declaration, return the
/// existing global.
Constant *Module::getOrInsertGlobal(StringRef Name, Type *Ty) {
// See if we have a definition for the specified global already.