final IASTDeclSpecifier declSpecifier = funcDef.getDeclSpecifier();
if (declSpecifier != null) {
declSpecifier.accept(visitor);
}
if (declSpecifier instanceof IASTSimpleDeclSpecifier) {
final IASTSimpleDeclSpecifier simDeclSpec = (IASTSimpleDeclSpecifier) declSpecifier;
if (simDeclSpec.getType() != IASTSimpleDeclSpecifier.t_unspecified) {
visitor.setSpaceNeededBeforeName(true);
}
} else {
visitor.setSpaceNeededBeforeName(true);
}