HomePhabricator

PR25910: clang allows two var definitions with the same mangled name

Description

PR25910: clang allows two var definitions with the same mangled name

Proper diagnostic and resolution of mangled names' conflicts in variables.
When there is a declaration and a definition using the same name but different
types, we emit what is in the definition. When there are two conflicting
definitions, we issue an error.

Differential Revision: http://reviews.llvm.org/D15686

Details

Committed
asbokhanJan 14 2016, 2:41 AM
Differential Revision
D15686: PR25910: clang allows two var definitions with the same mangled name
Parents
rL257753: [ELF] - implemented --eh-frame-hdr command line option.
Branches
Unknown
Tags
Unknown