r213259 - Fixing the objc_runtine_name documentation so that the code block is properly generated.

Aaron Ballman aaron at aaronballman.com
Thu Jul 17 09:25:27 PDT 2014


On Thu, Jul 17, 2014 at 12:21 PM, jahanian <fjahanian at apple.com> wrote:
> Thank you Aaron. Did I need to run additional tests to see that documentation is coming out right? Is there a clang option for this?

You can generate the documentation manually, and it'll give you
warnings if you don't have it quite right. The way I test is to run:

clang-tblgen -gen-attr-docs -I E:\llvm\llvm\tools\clang\include
E:\llvm\llvm\tools\clang\include\clang\Basic\Attr.td -o
E:\llvm\llvm\tools\clang\docs\AttributeReference.rst

Then I go into the docs directory and run "make html".

I happened to notice this from looking at the live docs though.

~Aaron



More information about the cfe-commits mailing list