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 | 2a8c18d99118827ff752cc8952a2096f33715f31 (patch) | |
tree | 5fbe7871948cb2c241487ca9ee86159891d67b64 /clang/test/SemaCXX/conditional-expr.cpp | |
parent | ad768585ff488cf01588b2d0caa1f95260031cdc (diff) | |
download | bcm5719-llvm-2a8c18d99118827ff752cc8952a2096f33715f31.tar.gz bcm5719-llvm-2a8c18d99118827ff752cc8952a2096f33715f31.zip |
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
llvm-svn: 329399
Diffstat (limited to 'clang/test/SemaCXX/conditional-expr.cpp')
-rw-r--r-- | clang/test/SemaCXX/conditional-expr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/conditional-expr.cpp b/clang/test/SemaCXX/conditional-expr.cpp index 5025990cfd3..7e6b0ce8e8f 100644 --- a/clang/test/SemaCXX/conditional-expr.cpp +++ b/clang/test/SemaCXX/conditional-expr.cpp @@ -149,7 +149,7 @@ void test() i1 = i1 ? i1 : I(); I i2(i1 ? I() : J()); I i3(i1 ? J() : I()); - // "the type [it] woud have if E2 were converted to an rvalue" + // "the type [it] would have if E2 were converted to an rvalue" vfn pfn = i1 ? F() : test; pfn = i1 ? test : F(); (void)(i1 ? A() : B()); // expected-error {{conversion from 'B' to 'A' is ambiguous}} |