summaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/TypeBasedAliasAnalysis.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/TypeBasedAliasAnalysis.cpp
parent46b083ef4a3424b1e0e6b488d390ce759759f8e9 (diff)
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/TypeBasedAliasAnalysis.cpp')
-rw-r--r--llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp b/llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp
index 2b19b14407fe..25a154edf4ac 100644
--- a/llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp
+++ b/llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp
@@ -636,7 +636,7 @@ static bool mayBeAccessToSubobjectOf(TBAAStructTagNode BaseTag,
// If the base object has a direct or indirect field of the subobject's type,
// then this may be an access to that field. We need this to check now that
- // we support aggreagtes as access types.
+ // we support aggregates as access types.
if (NewFormat) {
// TBAAStructTypeNode BaseAccessType(BaseTag.getAccessType());
TBAAStructTypeNode FieldType(SubobjectTag.getBaseType());