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

             Bug #: 14411
           Summary: "restrict requires a pointer or reference" is wrong
                    for C++11
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++11
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified


If I understand the spec correctly:


    17.2 The C standard library [library.c]

    1 The C++ standard library also makes available the facilities of the C
standard library, suitably adjusted to ensure static type safety.
    2 The descriptions of many library functions rely on the C standard library
for the signatures and semantics of those functions. In all such cases, any use
of the restrict qualifier shall be omitted.


for C++11, restrict should be ignored.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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