[llvm-bugs] [Bug 39371] New: No definition emitted for template class static variable

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Oct 20 16:49:17 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=39371

            Bug ID: 39371
           Summary: No definition emitted for template class static
                    variable
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Modules
          Assignee: unassignedclangbugs at nondot.org
          Reporter: andrewjcg at gmail.com
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org

In some cases (seemingly involving namespaces, and use of the static variable
in a function within the module), a definition for a template class's static
variable isn't emitted.  Simplified repro at
https://reviews.llvm.org/differential/diff/170323/.

-- 
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/20181020/d8c436b1/attachment.html>


More information about the llvm-bugs mailing list