[llvm-bugs] [Bug 37885] static object mangling conflicts

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jun 21 11:21:28 PDT 2018


Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
Clang follows the agreed direction for CWG issue 1839, which says that
redeclaration lookup for 'extern int i;' finds the 'static int i;' declared at
namespace scope and thus the internal linkage is inherited.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180621/4fe912d5/attachment.html>

More information about the llvm-bugs mailing list