[llvm] r191595 - Fix typo

Matt Arsenault Matthew.Arsenault at amd.com
Fri Sep 27 18:08:00 PDT 2013


Author: arsenm
Date: Fri Sep 27 20:08:00 2013
New Revision: 191595

URL: http://llvm.org/viewvc/llvm-project?rev=191595&view=rev
Log:
Fix typo

Modified:
    llvm/trunk/lib/IR/Module.cpp

Modified: llvm/trunk/lib/IR/Module.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/Module.cpp?rev=191595&r1=191594&r2=191595&view=diff
==============================================================================
--- llvm/trunk/lib/IR/Module.cpp (original)
+++ llvm/trunk/lib/IR/Module.cpp Fri Sep 27 20:08:00 2013
@@ -245,7 +245,7 @@ GlobalVariable *Module::getGlobalVariabl
 ///   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.





More information about the llvm-commits mailing list