]> granicus.if.org Git - clang/commitdiff
CodeGen: Fix a typo in getThreadLocalWrapperLinkage
authorDavid Majnemer <david.majnemer@gmail.com>
Fri, 27 Jun 2014 16:56:27 +0000 (16:56 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Fri, 27 Jun 2014 16:56:27 +0000 (16:56 +0000)
The description had a misspelling.  No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211908 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/ItaniumCXXABI.cpp

index 38d49d134e9d7c5d64b6c25c46f5cc6c690b06a2..d5e1daeb12f66a5455eb1edb68d05ef008404141 100644 (file)
@@ -1782,7 +1782,7 @@ void ItaniumCXXABI::registerGlobalDtor(CodeGenFunction &CGF,
 }
 
 /// Get the appropriate linkage for the wrapper function. This is essentially
-/// the weak form of the variable's linkage; every translation unit which wneeds
+/// the weak form of the variable's linkage; every translation unit which needs
 /// the wrapper emits a copy, and we want the linker to merge them.
 static llvm::GlobalValue::LinkageTypes
 getThreadLocalWrapperLinkage(const VarDecl *VD, CodeGen::CodeGenModule &CGM) {