[llvm-bugs] [Bug 35348] New: declare target does not work correctly with templates

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Nov 17 09:37:27 PST 2017


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

            Bug ID: 35348
           Summary: declare target does not work correctly with templates
           Product: OpenMP
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Clang Compiler Support
          Assignee: unassignedclangbugs at nondot.org
          Reporter: hahnjo at hahnjo.de
                CC: llvm-bugs at lists.llvm.org

Created attachment 19443
  --> https://bugs.llvm.org/attachment.cgi?id=19443&action=edit
template functions in declare target regions

'declare target' regions don't work correctly with template functions. Please
see attached source code that has some template functions in such regions and
one specialization outside. I've annotated where I'd expect diagnostics and
which part of the code should be ok. Current trunk doesn't match that behavior.

-- 
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/20171117/7582f743/attachment.html>


More information about the llvm-bugs mailing list