[LLVMbugs] [Bug 10741] New: no diagnostic for uninstantiatable template: failed lookup in current instantiation with no dependent base classes not caught

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Aug 24 19:35:29 PDT 2011


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

           Summary: no diagnostic for uninstantiatable template: failed
                    lookup in current instantiation with no dependent base
                    classes not caught
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: richard-llvm at metafoo.co.uk
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


clang does not diagnose this uninstantiatable template:

template<typename T> struct S { S() { this->f(); } };

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