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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to