Fixed DeclSpec::hasAttributes