Re: Apple LLVM 4.2 (part of Xcode 4.6) checks doxygen comments
Re: Apple LLVM 4.2 (part of Xcode 4.6) checks doxygen comments
- Subject: Re: Apple LLVM 4.2 (part of Xcode 4.6) checks doxygen comments
- From: Sean McBride <email@hidden>
- Date: Tue, 29 Jan 2013 17:28:11 -0500
- Organization: Rogue Research Inc.
On Tue, 29 Jan 2013 13:29:52 -0800, Marshall Clow said:
>If you are commenting your code with doxygen - style comments, (and
>using Xcode 4.6) you should consider adding '-Wdocumentation" to your
>compiler options.
>
>When this is enabled, clang will check your doxygen comments and make
>sure that they match the code that they refer to.
Another option is to use a 'subtractive' approach to warnings. That is, turn on -Weverything and -Wno-blah-blah to exclude those warnings you don't want. This way, each new compiler release will give you new warnings, which you can proceed to fix or exclude by adding another -Wno-blah.
Cheers,
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden