<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - #pragma marks do not always show up in Xcode"
   href="http://llvm.org/bugs/show_bug.cgi?id=15268">15268</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>#pragma marks do not always show up in Xcode
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>-New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>hagi.dd@web.de
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I'm not 100% sure whether this bug is a Clang or an Xcode issue, but I suspect
Clang... if you add '#pragma mark - Description' directives to your code, Xcode
will show nice separators and section names in the jump bar.

However, pragma directives do not show up if they follow an '@interface'
declaration that does not have a private variables section (or at least the
'{}' brackets).

Example:

@interface APIExporterSymbol : NSObject {}
#pragma mark - Properties

==> separator/section name show up in jump bar

@interface APIExporterSymbol : NSObject
#pragma mark - Properties

==> separator/section name do not show up

The same goes for '@implementation' statements, by the way.

I'm using Xcode 4.6 with 'Apple LLVM version 4.2 (clang-425.0.24) (based on
LLVM 3.2svn)', but the bug was present in earlier Xcode releases, too (at least
Xcode 4.5).</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>