summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-29 15:13:23 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-03-29 15:13:45 +0200
commita52cf476e7cec9d0c70dd4ee93cbd328b66479ad (patch)
tree9e03f530d36c1c65f0db9d8698677e802137b3bb /compilerplugins
parentc266ba458f444e5f4a4bafbf4073710c31897536 (diff)
Clean up template-parameter-dependent C-style casts
Change-Id: Ia1ab134a0afbeeb3ae40264bd4233a47df26b734
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/cstylecast.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/compilerplugins/clang/cstylecast.cxx b/compilerplugins/clang/cstylecast.cxx
index 47e8d17b8977..d34e7299eded 100644
--- a/compilerplugins/clang/cstylecast.cxx
+++ b/compilerplugins/clang/cstylecast.cxx
@@ -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());