search for: removeattr

Displaying 7 results from an estimated 7 matches for "removeattr".

Did you mean: removexattr
2008 Apr 26
0
[LLVMdev] ParamAttr Patch - Alignment fix
...+ > + /// setStructRetAttr - Set true to give the Argument a sret > attribute. > + void setStructRetAttr(bool byVal); These prototypes are all misleading; the bool value is ignored. I think it would be preferable to simply have a single pair of methods, addAttr(ParamAttr Attr) and removeAttr(ParamAttr Attr). > Index: include/llvm-c/Core.h > =================================================================== > --- include/llvm-c/Core.h (revision 50213) > +++ include/llvm-c/Core.h (working copy) > @@ -69,6 +69,8 @@ > typedef struct LLVMOpaqueBasicBlock *LLVMBasicBlock...
2008 Apr 24
2
[LLVMdev] ParamAttr Patch - Alignment fix
Hi.. Updated so you now set alignment through LLVMInstrSetAlignment. Anders Johnsen -------------- next part -------------- A non-text attachment was scrubbed... Name: ParamAttr.patch Type: text/x-diff Size: 7420 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080424/cb72b4bb/attachment.patch>
2008 Apr 26
2
[LLVMdev] ParamAttr Patch - Alignment fix
...RetAttr - Set true to give the Argument a sret > > attribute. > > + void setStructRetAttr(bool byVal); > > These prototypes are all misleading; the bool value is ignored. I > think it would be preferable to simply have a single pair of methods, > addAttr(ParamAttr Attr) and removeAttr(ParamAttr Attr). > > > Index: include/llvm-c/Core.h > > =================================================================== > > --- include/llvm-c/Core.h (revision 50213) > > +++ include/llvm-c/Core.h (working copy) > > @@ -69,6 +69,8 @@ > > typedef struct LL...
2009 Feb 22
8
dynamically changing a form from POST/CREATE to PUT/UPDATE
For the life of me I can''t figure this one out, although I can''t find anyone else who''s attempted to do this, and probably with good reason. Context: blog using AJAX What I''m trying to do: when the user initially saves a blog entry, or when auto-saving, I want subsequent saves to not create a new blog entry Why I can''t just reload the partial: -
2009 Nov 03
0
[PATCH server] suggest ip address for nics/bondings on edit host/vm network forms
...#39;static' %>; jnet.boot_type = "<%= rnet.boot_type.proto %>"; jnet.selected = false; + jnet.suggested_ip = "<%= @suggested_ips[rnet.id] %>"; networks.push(jnet); <% } %> @@ -380,7 +381,8 @@ div.children("input").removeAttr("disabled"); // grab value of address field from device - address = device ? device.ip_address : ""; + address = (device && (device.ip_address != "")) ? + device.ip_address : network.suggested_ip; div.children("inp...
2009 Oct 06
0
[PATCH server] new host networking wui
..._network_selected.id+']').show(); + } + + // for static ip networks show editable ip address textbox + if(network != null && network.static_ip){ + div = $(e.target).next('.host_network_table_subcolumn'); + div.show(); + div.children("input").removeAttr("disabled"); + + // grab value of address field from device + address = device ? device.ip_address : ""; + div.children("input").val(address); + + // for non-static networks disable/hide ip address textbox + }else{ + div = $(e.target).next(...
2015 Dec 03
3
Function attributes for LibFunc and its impact on GlobalsAA
----- Original Message ----- > From: "James Molloy via llvm-dev" <llvm-dev at lists.llvm.org> > To: "Vaivaswatha Nagaraj" <vn at compilertree.com> > Cc: "LLVM Dev" <llvm-dev at lists.llvm.org> > Sent: Thursday, December 3, 2015 4:41:46 AM > Subject: Re: [llvm-dev] Function attributes for LibFunc and its impact on GlobalsAA > >