[LLVMbugs] [Bug 17659] New: Attributes not propagated to template specializations when they are declared

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Oct 22 15:21:22 PDT 2013


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

            Bug ID: 17659
           Summary: Attributes not propagated to template specializations
                    when they are declared
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: chris.wailes at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 11409
  --> http://llvm.org/bugs/attachment.cgi?id=11409&action=edit
Example code of how attributes are NOT propagated

Attributes attached to a templated class are not propagated to template
specializations when they are declared.  In the attached code, the
specialization of Foo<int> does not have the attributes that are attached to
the templated class Foo.

It appears that attributes ARE propagated to a specialization when it occurs
inside the definition of a function.

-- 
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/20131022/d77c9dd7/attachment.html>


More information about the llvm-bugs mailing list