[llvm-bugs] [Bug 46106] New: Please add a command line flag for disabling warn_inline_namespace_reopened_noninline

via llvm-bugs llvm-bugs at lists.llvm.org
Wed May 27 11:51:05 PDT 2020


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

            Bug ID: 46106
           Summary: Please add a command line flag for disabling
                    warn_inline_namespace_reopened_noninline
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: rafael at espindo.la
                CC: blitzrakete at gmail.com, dgregor at apple.com,
                    erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at metafoo.co.uk

We are using inline namespaces for api versioning. We have a header that
declares all the version namespaces and picks the right one for being inline.

Unfortunately that causes warning with warn_inline_namespace_reopened_noninline
and we can't turn it off as there is no
-Wno-inline-namespace-reopened-noninline.

-- 
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/20200527/f2ea2db3/attachment-0001.html>


More information about the llvm-bugs mailing list