diff options
| author | Alexander Kornienko <alexfh@google.com> | 2018-04-06 15:14:32 +0000 |
|---|---|---|
| committer | Alexander Kornienko <alexfh@google.com> | 2018-04-06 15:14:32 +0000 |
| commit | b8b9458165ad22218c8d864a623bd23847d4807a (patch) | |
| tree | bdb43c773d7cea723e8c80b4d0c11a7b8b93a619 /lib/CodeGen/CGExprAgg.cpp | |
| parent | 0a1726abd9544637fd9015e68b6638a552533649 (diff) | |
| download | clang-b8b9458165ad22218c8d864a623bd23847d4807a.tar.gz | |
Fix typos in clang
Found via codespell -q 3 -I ../clang-whitelist.txt
Where whitelist consists of:
archtype
cas
classs
checkk
compres
definit
frome
iff
inteval
ith
lod
methode
nd
optin
ot
pres
statics
te
thru
Patch by luzpaz! (This is a subset of D44188 that applies cleanly with a few
files that have dubious fixes reverted.)
Differential revision: https://reviews.llvm.org/D44188
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@329399 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
| -rw-r--r-- | lib/CodeGen/CGExprAgg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGExprAgg.cpp b/lib/CodeGen/CGExprAgg.cpp index e2871e3d0e..6693ddd747 100644 --- a/lib/CodeGen/CGExprAgg.cpp +++ b/lib/CodeGen/CGExprAgg.cpp @@ -746,7 +746,7 @@ void AggExprEmitter::VisitCastExpr(CastExpr *E) { if (isToAtomic) { AggValueSlot valueDest = Dest; if (!valueDest.isIgnored() && CGF.CGM.isPaddedAtomicType(atomicType)) { - // Zero-initialize. (Strictly speaking, we only need to intialize + // Zero-initialize. (Strictly speaking, we only need to initialize // the padding at the end, but this is simpler.) if (!Dest.isZeroed()) CGF.EmitNullInitialization(Dest.getAddress(), atomicType); |
