aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Module.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Module.h')
-rw-r--r--include/llvm/Module.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Module.h b/include/llvm/Module.h
index c7063f5e1c..aef8eb890f 100644
--- a/include/llvm/Module.h
+++ b/include/llvm/Module.h
@@ -308,7 +308,7 @@ public:
/// 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
+ /// 3. Finally, if the existing global is the correct declaration, return
/// the existing global.
Constant *getOrInsertGlobal(StringRef Name, const Type *Ty);