Olivier Goffart
ed13fab4bc
Fix crash in typo correction while correcting enum within a struct in C
...
llvm-svn: 225513
2015-01-09 09:37:26 +00:00
Kaelyn Takata
42118a9524
Handle OpaqueValueExprs more intelligently in the TransformTypos tree
...
transform.
Also diagnose typos in the initializer of an invalid C++ declaration.
Both issues were hit using the same line of test code, depending on
whether the code was treated as C or C++.
Fixes PR22092.
llvm-svn: 225389
2015-01-07 21:16:39 +00:00
Kaelyn Takata
13da33fdfe
Force the correction of delayed typos in casts in non-C++ code.
...
Fixes PR21656, which is fallout from r222551 caused by an untested/missed
code path.
llvm-svn: 222694
2014-11-24 21:46:59 +00:00
Kaelyn Takata
1586782767
Enable ActOnIdExpression to use delayed typo correction for non-C++ code
...
when calling DiagnoseEmptyLookup.
llvm-svn: 222551
2014-11-21 18:48:04 +00:00