Add a proper blurb for the PPCallbacks features.

llvm-svn: 145261
This commit is contained in:
Chandler Carruth 2011-11-28 19:17:25 +00:00
parent d80e5e9dd8
commit 48f8f9fdb1

View File

@ -98,12 +98,6 @@ prose in a section of its own. When doing that, delete the notes.</p>
<li>Uninitialized values Clang warning rewrite -- more accurate, faster, able
to differentiate between the possibility of an uninitialized use and the
certainty of an uninitialized use.</li>
<li>Enhancements to PPCallbacks
<ul>
<li>exact include paths</li>
<li>source range for macro expansions</li>
</ul>
</li>
<li>Support for language specific address spaces</li>
<li>Support for compiling on NetBSD systems -- Joerg Sonnenberger to fill
out</li>
@ -176,6 +170,16 @@ prose in a section of its own. When doing that, delete the notes.</p>
and memory model -- efriedma, jyasskin</li>
</ul>
<h4 id="ppcallbacks">Expanded support for instrumenting the preprocessor through
callbacks</h4>
Several enhancements were made to the <code>PPCallbacks</code> interface to expand the information available to tools and library users of Clang that wish to introspect the preprocessing.
<ul>
<li>The exact text used between the <code>""</code>s or <code>&lt;&gt;</code>s is reported.</li>
<li>The header search path used to locate the header is reported.</li>
<li>Missing files during including headers reported.</li>
<li>The exact source range for expanded macros can be retrieved.</li>
</ul>
<!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = -->
<h3 id="cchanges">C Language Changes in Clang</h3>
<!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = -->