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

           Summary: -Wunused-function complains about unused deleted
                    functions
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++0x
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


$ echo 'namespace { void f() = delete; }' | clang++ -x c++ -std=c++0x
-fsyntax-only -Wunused-function -
<stdin>:1:18: warning: unused function 'f' [-Wunused-function]
namespace { void f() = delete; }
                 ^
1 warning generated.

Oops! Deleted functions are /supposed/ to be unused!

-- 
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