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

           Summary: missing error when bound member function not called
           Product: clang
           Version: unspecified
          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]


Sometimes clang doesn't diagnose when a bound non-static member function is not
called:

  struct C { void f() {}; };
  decltype(C().f);             // -Wmissing-declarations warning, expected
error

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