aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/SemaInit.cpp
diff options
context:
space:
mode:
authorRageking8 <tomleetyt@gmail.com>2022-11-08 07:21:23 -0500
committerAaron Ballman <aaron@aaronballman.com>2022-11-08 07:21:23 -0500
commit94738a5ac34283bb034b022602b9f9e93d67081f (patch)
tree447d35886b076c757eb2a409cee06016bd196fd8 /clang/lib/Sema/SemaInit.cpp
parent4b0fd43512acaf7e167a27fb143f679775e09247 (diff)
downloadllvm-94738a5ac34283bb034b022602b9f9e93d67081f.zip
llvm-94738a5ac34283bb034b022602b9f9e93d67081f.tar.gz
llvm-94738a5ac34283bb034b022602b9f9e93d67081f.tar.bz2
Fix duplicate word typos; NFC
This revision fixes typos where there are 2 consecutive words which are duplicated. There should be no code changes in this revision (only changes to comments and docs). Do let me know if there are any undesirable changes in this revision. Thanks.
Diffstat (limited to 'clang/lib/Sema/SemaInit.cpp')
-rw-r--r--clang/lib/Sema/SemaInit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaInit.cpp b/clang/lib/Sema/SemaInit.cpp
index d455bed..68f5f30 100644
--- a/clang/lib/Sema/SemaInit.cpp
+++ b/clang/lib/Sema/SemaInit.cpp
@@ -1528,8 +1528,8 @@ void InitListChecker::CheckComplexType(const InitializedEntity &Entity,
// As an extension, clang supports complex initializers, which initialize
// a complex number component-wise. When an explicit initializer list for
- // a complex number contains two two initializers, this extension kicks in:
- // it exepcts the initializer list to contain two elements convertible to
+ // a complex number contains two initializers, this extension kicks in:
+ // it expects the initializer list to contain two elements convertible to
// the element type of the complex type. The first element initializes
// the real part, and the second element intitializes the imaginary part.