Clean up template-parameter-dependent C-style casts

Change-Id: Ia1ab134a0afbeeb3ae40264bd4233a47df26b734
This commit is contained in:
Stephan Bergmann
2015-03-29 15:13:23 +02:00
parent c266ba458f
commit a52cf476e7
24 changed files with 50 additions and 54 deletions

View File

@@ -120,10 +120,6 @@ bool CStyleCast::VisitCStyleCastExpr(const CStyleCastExpr * expr) {
incompTo = "incomplete ";
}
}
// ignore stuff from inside templates for now
if( expr->getCastKind() == CK_Dependent ) {
return true;
}
if (externCFunction || expr->getLocStart().isMacroID()) {
SourceLocation spellingLocation = compiler.getSourceManager().getSpellingLoc(
expr->getLocStart());