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

            Bug ID: 38503
           Summary: [5/6/7] -Wunused-const-variable false positive for
                    variable template
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++14
          Assignee: unassignedclangb...@nondot.org
          Reporter: ca...@carter.net
                CC: llvm-bugs@lists.llvm.org

Every clang since 5.0 emits -Wunused-const-variable for a TU that contains
only:

  template <class> constexpr bool always_false = false;

Note that there are no variables here, only a variable template.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to