summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/crash-10438657.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Ensure all TypoExprs are diagnosed by the tree transform.Kaelyn Takata2014-11-201-1/+1
| | | | | | | | | | | | If there is more than one TypoExpr within the expr being transformed and any but the last TypoExpr seen don't have any viable candidates, the tree transform will be aborted early and the remaining TypoExprs are never seen and hence never diagnosed. This adds a simple RecursiveASTVisitor to find all of the TypoExprs to be diagnosed in the case where typo correction of the entire expr fails (and the result of the tree transform is an ExprError). llvm-svn: 222465
* Wire up delayed typo correction to DiagnoseEmptyLookup and set upKaelyn Takata2014-11-201-1/+1
| | | | | | | | | Sema::ActOnIdExpression to use the new functionality. Among other things, this allows recovery in several cases where it wasn't possible before (e.g. correcting a mistyped static_cast<>). llvm-svn: 222464
* When we're checking access in a dependent context, don't try to lookDouglas Gregor2011-11-141-0/+15
at the bases of an undefined class. Fixes <rdar://problem/10438657>. llvm-svn: 144582
OpenPOWER on IntegriCloud