Merge pull request #84 from bcardosolopes/swift-4.0-branch-werror

[Modules] Include error diagnostics to the module hash