[LLVMbugs] [Bug 16887] New: We shouldn't try to mangle an injected class name with -fdelayed-template-parsing and -cxx-abi microsoft

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Aug 14 14:23:12 PDT 2013


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

            Bug ID: 16887
           Summary: We shouldn't try to mangle an injected class name with
                    -fdelayed-template-parsing and -cxx-abi microsoft
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: david.majnemer at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

the following, thanks to Richard Smith, tickles a bug in
-fdelayed-template-parsing that gets us to try and mangle an injected class
name:
template<typename T> struct A { friend void f(A<T>) {} }; void g() {
f(A<int>()); }

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130814/2451b82c/attachment.html>


More information about the llvm-bugs mailing list