Fix typo
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sat, 28 Sep 2013 01:08:00 +0000 (01:08 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Sat, 28 Sep 2013 01:08:00 +0000 (01:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191595 91177308-0d34-0410-b5e6-96231b3b80d8

lib/IR/Module.cpp

index 968b8f4b904ddc9835a1f251716af8fe2adf4706..ba4ee7f6a682fec19e3f6059c03a525c8c1cc9a5 100644 (file)
@@ -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.