commit | cd78e612d6fa8e214e6a6bb0e739a0c3e419df91 | [log] [tgz] |
---|---|---|
author | Kaelyn Uhrain <rikka@google.com> | Wed Jan 25 20:49:08 2012 +0000 |
committer | Kaelyn Uhrain <rikka@google.com> | Wed Jan 25 20:49:08 2012 +0000 |
tree | 80fe736fdb339888bc309422e146c3753a84396d | |
parent | ada4fa7978dc91a5e615af2ec29e12e3c6973c7f [diff] |
Avoid correcting unknown identifiers to types where types aren't allowed. Pass a typo correction callback object from ParseCastExpr to Sema::ActOnIdExpression to be a bit more selective about what kinds of corrections will be allowed for unknown identifiers. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148973 91177308-0d34-0410-b5e6-96231b3b80d8