[LLVMbugs] [Bug 12337] New: There is no querying macro for "local types as template arguments (N2657)"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 23 04:53:02 PDT 2012


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

             Bug #: 12337
           Summary: There is no querying macro for "local types as
                    template arguments (N2657)"
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: mimomorin at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 8258
  --> http://llvm.org/bugs/attachment.cgi?id=8258
A patch for adding cxx_local_type_template_args macro

Boost.Config recently added a macro to detect support for local types as
template arguments.
But clang does not have a querying macro for this feature.

Attached a patch for the code, docs and test to add
`__has_feature(cxx_local_type_template_args)`.

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