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)
commit938204aa02977f2bd1e545f43f9304451193e74c
tree6cdd92c350ebd995a440394aec620b8a4b080fc5
parentbf22a4eaeed17e2db5a83dfd8a7bb78af7b2ea00
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.

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