http://llvm.org/bugs/show_bug.cgi?id=17786

David Majnemer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |INVALID

--- Comment #1 from David Majnemer <[email protected]> ---
clang accepts the following definition:
struct Foo {
    void bar() __restrict { }
    void bar() { }
};

This means that, counter to icc and gcc, clang considers these to be overloads.
For the exact reason that you stated, clang must mangle the __restrict
attribute into the external name.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to