HomePhabricator

[Sema] Emit warning for visibility attribute on internal-linkage declaration

Description

[Sema] Emit warning for visibility attribute on internal-linkage declaration

GCC warns on these cases, but we currently just silently ignore the attribute.

Differential Revision: https://reviews.llvm.org/D61097