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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to