[LLVMbugs] [Bug 20561] New: [-Wdocumentation] Warn on wrong namespace name documentation at closing brace

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Aug 6 05:31:29 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=20561

            Bug ID: 20561
           Summary: [-Wdocumentation] Warn on wrong namespace name
                    documentation at closing brace
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: gonzalobg88 at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Some coding guidelines require developers to document the closing brace of a
namespace:

namespace foo {
 ...
}  // namespace foo

or 

namespace foo {
  ...
}  // foo namespace

-Wdocumentation should warn the user when the namespace name used on the
closing brace does not match the namespace name:

namespace foo {
  ...
}  // namespace bar
                 ^ warning: closing namespace name "bar" does not match
namespace name "foo" [-Wdocumentation]

-- 
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/20140806/0052d798/attachment.html>


More information about the llvm-bugs mailing list