[LLVMbugs] [Bug 17348] New: -Wdocumentation-unknown-command doesn't recognize doxygen's "\throw"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Sep 24 14:11:32 PDT 2013


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

            Bug ID: 17348
           Summary: -Wdocumentation-unknown-command doesn't recognize
                    doxygen's "\throw"
           Product: new-bugs
           Version: trunk
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: sean at rogue-research.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Reduced from VTK (or rather VTK's copy of jsoncpp):

-------------------------
namespace Json {
   /** \brief Read from 'sin' into 'root'.
    \throw std::exception on parse error.
   */
   std::istream& operator>>( std::istream&, int& );
}
-------------------------

clang -Wdocumentation-unknown-command gives:

/Users/sean/Desktop/test.cxx:5:8: warning: unknown command tag name
[-Wdocumentation-unknown-command]
/**    \throw std::exception on parse error. */
       ^

In other words, clang does not seems to recognise doxygen's "\throw" command.

-- 
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/20130924/c88b7904/attachment.html>


More information about the llvm-bugs mailing list