[LLVMbugs] [Bug 18714] New: MS compatibility: Use token-based instantiation for -fdelayed-template-parsing

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Feb 3 12:41:39 PST 2014


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

            Bug ID: 18714
           Summary: MS compatibility: Use token-based instantiation for
                    -fdelayed-template-parsing
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: rnk at google.com
                CC: david.majnemer at gmail.com, dgregor at apple.com,
                    llvmbugs at cs.uiuc.edu, richard-llvm at metafoo.co.uk
    Classification: Unclassified

Our current -fdelayed-template-parsing and -fms-compatibility approach is
pretty hacky.  We have lots of weird dependent nodes that don't normally appear
in an eagerly instantiated clang AST, and it adds a lot of complexity without
getting us all the way there in terms of compatibility.

For example, we have bugs like:
http://llvm.org/PR18443
http://llvm.org/PR16014
http://llvm.org/PR12705

By reparsing the template with token instantiation and replay, we'd neatly
solve all of these problems, hopefully with less code and fewer bugs.

I'm not planning to work on this now, but if we have enough problems, this is
probably the right future direction for -fdelayed-template-parsing.

-- 
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/20140203/45bdf3fc/attachment.html>


More information about the llvm-bugs mailing list