Correct all typos in the initialization arguments, even if one could not
authorKaelyn Takata <rikka@google.com>
Wed, 21 Jan 2015 00:04:19 +0000 (00:04 +0000)
committerKaelyn Takata <rikka@google.com>
Wed, 21 Jan 2015 00:04:19 +0000 (00:04 +0000)
commit21a886936b796752acf1db1b7ed5f8aa06b2b771
tree5d5dcd425baeea439c0c4def2cdb52569fae4aea
parentf5dcc1cbe6b03b401e8026775ef1ab7356c7056c
Correct all typos in the initialization arguments, even if one could not
be corrected.

This fixes PR22250, which exposed the bug where if there's more than one
TypoExpr in the arguments, once one failed to be corrected none of the
TypoExprs after it would be handled at all thanks to an early return.

llvm-svn: 226624
clang/lib/Sema/SemaDecl.cpp
clang/test/SemaCXX/typo-correction-delayed.cpp