[LLVMbugs] [Bug 10830] New: missing error when bound member function not called

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Sep 1 15:04:15 PDT 2011


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: unassignedclangbugs at nondot.org
        ReportedBy: richard-llvm at metafoo.co.uk
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


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.



More information about the llvm-bugs mailing list