Hi,
This is not patch actually and I don't think it needs long time for revising, but it helps the generation of doxygen from DeclCXX.
Vassil

-------- Original Message --------
Subject:        Re: [cfe-dev] Error in Clang Doxygen?
Date:   Fri, 29 Jul 2011 18:45:02 +0200
From:   Vassil Vassilev <[email protected]>
To:     John Freeman <[email protected]>
CC:     <[email protected]>



Hi,
   I got it. There was \code instead of @code and @endcode :)
Vassil
On 07/27/2011 06:55 PM, John Freeman wrote:
 There are some entities documented in the source that are not included
 in the doxygen. For example, CXXRecordDecl has a page, but none of its
 members appear:
 http://clang.llvm.org/doxygen/classCXXRecordDecl.html

 For another example, neither CXXMethodDecl nor CXXCtorInitializer have
 pages at all, even though they appear in the same file (AST/DeclCXX.h),
 in the same scope, immediately following CXXRecordDecl. Is there an
 error in the documentation for CXXRecordDecl that prevents doxygen from
 finishing the file? I generated the docs with warnings, and I got no
 warnings for the file AST/DeclCXX.h.

 - John
 _______________________________________________
 cfe-dev mailing list
 [email protected]
 http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev



Index: tools/clang/include/clang/AST/DeclCXX.h
===================================================================
--- tools/clang/include/clang/AST/DeclCXX.h	(revision 136462)
+++ tools/clang/include/clang/AST/DeclCXX.h	(working copy)
@@ -1327,12 +1327,13 @@
   ///
   /// In the following example, \c f() has an lvalue ref-qualifier, \c g()
   /// has an rvalue ref-qualifier, and \c h() has no ref-qualifier.
-  /// \code
+  /// @code
   /// struct X {
   ///   void f() &;
   ///   void g() &&;
   ///   void h();
   /// };
+  /// @endcode
   RefQualifierKind getRefQualifier() const {
     return getType()->getAs<FunctionProtoType>()->getRefQualifier();
   }

_______________________________________________
cfe-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to