[LLVMbugs] [Bug 12722] New: Class members can't be described in the same line they are declared

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed May 2 00:58:14 PDT 2012


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

             Bug #: 12722
           Summary: Class members can't be described in the same line they
                    are declared
           Product: Documentation
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Doxygen
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: samsonov at google.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Not sure if it's a Doxygen issue, or code should be fixed. Consider this code:

class CodeGenOptions {
...
unsigned NoGlobalMerge     : 1; /// Set when -mno-global-merge is enabled.
unsigned NoImplicitFloat   : 1; /// Set when -mno-implicit-float is enabled.
...
};

Doxygen generates incorrect html for this code - comment is supposed to
describe a flag in the _next_ line. See
http://clang.llvm.org/doxygen/classclang_1_1CodeGenOptions.html#a480bc0122dade6d57aa5d6d112984f25

This is not a critical bug, but can be confusing sometimes.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list