summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/MemoryBuiltins.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2018-03-02 18:57:02 +0000
committerVedant Kumar <vsk@apple.com>2018-03-02 18:57:02 +0000
commit1a8456da17075539099ccb0d625fda816b62bcb2 (patch)
tree849f70c9c651d5bff12e8e1575228856146a16e9 /llvm/lib/Analysis/MemoryBuiltins.cpp
parent46b083ef4a3424b1e0e6b488d390ce759759f8e9 (diff)
downloadbcm5719-llvm-1a8456da17075539099ccb0d625fda816b62bcb2.tar.gz
bcm5719-llvm-1a8456da17075539099ccb0d625fda816b62bcb2.zip
Fix more spelling mistakes in comments of LLVM Analysis passes
Patch by Reshabh Sharma! Differential Revision: https://reviews.llvm.org/D43939 llvm-svn: 326601
Diffstat (limited to 'llvm/lib/Analysis/MemoryBuiltins.cpp')
-rw-r--r--llvm/lib/Analysis/MemoryBuiltins.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/MemoryBuiltins.cpp b/llvm/lib/Analysis/MemoryBuiltins.cpp
index 2aa389e059c..af9ad9ee0a6 100644
--- a/llvm/lib/Analysis/MemoryBuiltins.cpp
+++ b/llvm/lib/Analysis/MemoryBuiltins.cpp
@@ -238,7 +238,7 @@ bool llvm::isCallocLikeFn(const Value *V, const TargetLibraryInfo *TLI,
}
/// \brief Tests if a value is a call or invoke to a library function that
-/// allocates memory similiar to malloc or calloc.
+/// allocates memory similar to malloc or calloc.
bool llvm::isMallocOrCallocLikeFn(const Value *V, const TargetLibraryInfo *TLI,
bool LookThroughBitCast) {
return getAllocationData(V, MallocOrCallocLike, TLI,
OpenPOWER on IntegriCloud