[cfe-dev] Tips on pragma mark

Jean-Daniel Dupas devlists at shadowlab.org
Sat Dec 25 07:42:42 PST 2010


Hi,

I just saw (in commits) you have troubles with pragma mark and portability.
If you use it for Xcode integration, you can use MARK in comments instead.

#pragma mark My code section
is equivalent to 
// MARK: My code section

and you can use 
// MARK: -
to insert a separator.

Regards

-- Jean-Daniel



-------------- next part --------------
A non-text attachment was scrubbed...
Name: mark.patch
Type: application/octet-stream
Size: 617 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20101225/d9e5cb1d/attachment.obj>


More information about the cfe-dev mailing list