src: fixed clang warnings

This commit is contained in:
Eberhard Graether
2015-12-13 04:48:04 +01:00
parent 87ad243f31
commit 801c2555bc
6 changed files with 3 additions and 11 deletions
@@ -180,7 +180,6 @@ bool ASTVisitor::VisitParmVarDecl(clang::ParmVarDecl* declaration)
// todo: handle parameters here!
// maybe handle template args in visitvardecl to account for local variables and stuff...
clang::TypeLoc loc = declaration->getTypeSourceInfo()->getTypeLoc();
clang::TypeLoc::TypeLocClass ssd = loc.getTypeLocClass();
if (loc.getTypeLocClass() == clang::TypeLoc::TypeLocClass::TemplateSpecialization)
{
processTemplateArguments(loc.getAs<clang::TemplateSpecializationTypeLoc>());