Remove unnecessary 'visitDecl' default cases.

The default cases are unnecessary and provide no benefits so they should
just be removed.
This commit is contained in:
Mohammad Ghasembeigi
2015-12-06 03:08:08 +11:00
parent 480c9c2993
commit ee2ceca8d1
2 changed files with 0 additions and 7 deletions

View File

@@ -781,10 +781,6 @@ public:
return Result;
}
void visitDecl(Decl *D) {
// FIXME: maybe don't have a default case
}
void visitStructDecl(StructDecl *SD) {
auto ResultSD = std::make_shared<sma::StructDecl>();
ResultSD->Name = convertToIdentifier(SD->getName());