Rename all variables that have uppercase characters in their names to use only lowercase characters
This commit is contained in:
parent
fe50c75d02
commit
6d9bdf975a
21 changed files with 541 additions and 541 deletions
|
|
@ -1774,25 +1774,25 @@ pub mod llvm {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn SetInstructionCallConv(Instr: ValueRef, CC: CallConv) {
|
||||
pub fn SetInstructionCallConv(instr: ValueRef, cc: CallConv) {
|
||||
unsafe {
|
||||
llvm::LLVMSetInstructionCallConv(Instr, CC as c_uint);
|
||||
llvm::LLVMSetInstructionCallConv(instr, cc as c_uint);
|
||||
}
|
||||
}
|
||||
pub fn SetFunctionCallConv(Fn: ValueRef, CC: CallConv) {
|
||||
pub fn SetFunctionCallConv(fn_: ValueRef, cc: CallConv) {
|
||||
unsafe {
|
||||
llvm::LLVMSetFunctionCallConv(Fn, CC as c_uint);
|
||||
llvm::LLVMSetFunctionCallConv(fn_, cc as c_uint);
|
||||
}
|
||||
}
|
||||
pub fn SetLinkage(Global: ValueRef, Link: Linkage) {
|
||||
pub fn SetLinkage(global: ValueRef, link: Linkage) {
|
||||
unsafe {
|
||||
llvm::LLVMSetLinkage(Global, Link as c_uint);
|
||||
llvm::LLVMSetLinkage(global, link as c_uint);
|
||||
}
|
||||
}
|
||||
|
||||
pub fn SetUnnamedAddr(Global: ValueRef, Unnamed: bool) {
|
||||
pub fn SetUnnamedAddr(global: ValueRef, unnamed: bool) {
|
||||
unsafe {
|
||||
llvm::LLVMSetUnnamedAddr(Global, Unnamed as Bool);
|
||||
llvm::LLVMSetUnnamedAddr(global, unnamed as Bool);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1802,20 +1802,20 @@ pub fn set_thread_local(global: ValueRef, is_thread_local: bool) {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn ConstICmp(Pred: IntPredicate, V1: ValueRef, V2: ValueRef) -> ValueRef {
|
||||
pub fn ConstICmp(pred: IntPredicate, v1: ValueRef, v2: ValueRef) -> ValueRef {
|
||||
unsafe {
|
||||
llvm::LLVMConstICmp(Pred as c_ushort, V1, V2)
|
||||
llvm::LLVMConstICmp(pred as c_ushort, v1, v2)
|
||||
}
|
||||
}
|
||||
pub fn ConstFCmp(Pred: RealPredicate, V1: ValueRef, V2: ValueRef) -> ValueRef {
|
||||
pub fn ConstFCmp(pred: RealPredicate, v1: ValueRef, v2: ValueRef) -> ValueRef {
|
||||
unsafe {
|
||||
llvm::LLVMConstFCmp(Pred as c_ushort, V1, V2)
|
||||
llvm::LLVMConstFCmp(pred as c_ushort, v1, v2)
|
||||
}
|
||||
}
|
||||
|
||||
pub fn SetFunctionAttribute(Fn: ValueRef, attr: Attribute) {
|
||||
pub fn SetFunctionAttribute(fn_: ValueRef, attr: Attribute) {
|
||||
unsafe {
|
||||
llvm::LLVMAddFunctionAttr(Fn, attr as c_uint)
|
||||
llvm::LLVMAddFunctionAttr(fn_, attr as c_uint)
|
||||
}
|
||||
}
|
||||
/* Memory-managed object interface to type handles. */
|
||||
|
|
@ -1879,9 +1879,9 @@ impl Drop for target_data_res {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn target_data_res(TD: TargetDataRef) -> target_data_res {
|
||||
pub fn target_data_res(td: TargetDataRef) -> target_data_res {
|
||||
target_data_res {
|
||||
TD: TD
|
||||
TD: td
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1915,9 +1915,9 @@ impl Drop for pass_manager_res {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn pass_manager_res(PM: PassManagerRef) -> pass_manager_res {
|
||||
pub fn pass_manager_res(pm: PassManagerRef) -> pass_manager_res {
|
||||
pass_manager_res {
|
||||
PM: PM
|
||||
PM: pm
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1982,9 +1982,9 @@ impl Drop for section_iter_res {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn section_iter_res(SI: SectionIteratorRef) -> section_iter_res {
|
||||
pub fn section_iter_res(si: SectionIteratorRef) -> section_iter_res {
|
||||
section_iter_res {
|
||||
SI: SI
|
||||
SI: si
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue