[llvm-commits] [llvm] r65846 -	/llvm/trunk/docs/ReleaseNotes.html
    Duncan Sands 
    baldrick at free.fr
       
    Tue Mar  3 00:51:31 PST 2009
    
    
  
> > +The new <a href="LangRef.html#paramattrs">nocapture</a> attribute can be used
> > +on pointer arguments to indicate that the function does not return the pointer,
> > +store it in an object that outlives the call, or let the value of the pointer
> > +escape from the function in any other way.
> 
> > +Note that it is the pointer itself that must not escape, not the value it
> > +points to: loading a value out of the pointer is perfectly fine.
> > +Many standard library functions (e.g. 'strlen', 'memcpy') have this property.
> 
> Does this note really belong in the release notes? Perhaps the link to 
> the LangRef is enough?
Too late now!
Ciao,
Duncan.
    
    
More information about the llvm-commits
mailing list