]> granicus.if.org Git - clang/commit
Try typo correction on all initialization arguments and be less
authorKaelyn Takata <rikka@google.com>
Tue, 16 Dec 2014 23:07:00 +0000 (23:07 +0000)
committerKaelyn Takata <rikka@google.com>
Tue, 16 Dec 2014 23:07:00 +0000 (23:07 +0000)
commit5f7701a4def14b22cfd797fda53187c88c36489e
tree9d735061a280a01f3a0960ef3cab57e4bf97faec
parentb2c6c4fef704d04a87c5b84ece95fb22f75db899
Try typo correction on all initialization arguments and be less
pessimistic about when to do so.

This also fixes PR21905 as the initialization argument was no longer
viewed as being type dependent due to the TypoExpr being type-cast.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@224386 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/SemaCXX/typo-correction-delayed.cpp