[llvm-commits] [llvm] r57518 - /llvm/trunk/docs/ReleaseNotes.html

Devang Patel dpatel at apple.com
Tue Oct 14 13:03:46 PDT 2008


Author: dpatel
Date: Tue Oct 14 15:03:43 2008
New Revision: 57518

URL: http://llvm.org/viewvc/llvm-project?rev=57518&view=rev
Log:

Document attributes changes.

Modified:
    llvm/trunk/docs/ReleaseNotes.html

Modified: llvm/trunk/docs/ReleaseNotes.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/ReleaseNotes.html?rev=57518&r1=57517&r2=57518&view=diff

==============================================================================
--- llvm/trunk/docs/ReleaseNotes.html (original)
+++ llvm/trunk/docs/ReleaseNotes.html Tue Oct 14 15:03:43 2008
@@ -490,7 +490,23 @@
 
 <ul>
 
-<li>Attributes changes [DEVANG] </li>
+<li>Now, function attributes and return value attributes are managed 
+sepearately. Interface exported by <tt>ParameterAttributes.h</tt> header is now
+experted by <tt>Attributes.h</tt> header. The new attributes interface changes are:
+<ul>
+<li><tt>getParamAttrs</tt> method is now replaced by 
+<tt>getParamAttributes</tt>, <tt>getRetAttributes</tt> and 
+<tt>getFnAttributes</tt> methods.</li>
+<li> Return value attributes are stored at index 0. Function attributes are 
+stored at index ~0U. Parameter attributes are stored at index that matches 
+parameter number.</li>
+<li> <tt>ParamAttr</tt> namespace is now renamed as <tt>Attribute</tt>.</li>
+<li> The name of the class</tt> that manages reference count of opaque 
+attributes is changed from <tt>PAListPtr</tt> to <tt>AttrListPtr</tt>.</li>
+<li> <tt>ParamAttrsWithIndex</tt> is now renamed as <tt>AttributeWithIndex</tt>. 
+</li>
+</ul>
+</li>
 
 <li>The <tt>DbgStopPointInst</tt> methods <tt>getDirectory</tt> and
 <tt>getFileName</tt> now return <tt>Value*</tt> instead of strings. These can be





More information about the llvm-commits mailing list