[llvm] r268176 - Properly name LLVMSetIsInBounds's argument. NFC
Amaury Sechet via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 30 19:23:14 PDT 2016
Author: deadalnix
Date: Sat Apr 30 21:23:14 2016
New Revision: 268176
URL: http://llvm.org/viewvc/llvm-project?rev=268176&view=rev
Log:
Properly name LLVMSetIsInBounds's argument. NFC
Modified:
llvm/trunk/include/llvm-c/Core.h
llvm/trunk/lib/IR/Core.cpp
Modified: llvm/trunk/include/llvm-c/Core.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm-c/Core.h?rev=268176&r1=268175&r2=268176&view=diff
==============================================================================
--- llvm/trunk/include/llvm-c/Core.h (original)
+++ llvm/trunk/include/llvm-c/Core.h Sat Apr 30 21:23:14 2016
@@ -2705,7 +2705,7 @@ LLVMBool LLVMIsInBounds(LLVMValueRef GEP
/**
* Set the given GEP instruction to be inbounds or not.
*/
-void LLVMSetIsInBounds(LLVMValueRef GEP, LLVMBool b);
+void LLVMSetIsInBounds(LLVMValueRef GEP, LLVMBool InBounds);
/**
* @}
Modified: llvm/trunk/lib/IR/Core.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/Core.cpp?rev=268176&r1=268175&r2=268176&view=diff
==============================================================================
--- llvm/trunk/lib/IR/Core.cpp (original)
+++ llvm/trunk/lib/IR/Core.cpp Sat Apr 30 21:23:14 2016
@@ -2215,8 +2215,8 @@ LLVMBool LLVMIsInBounds(LLVMValueRef GEP
return unwrap<GetElementPtrInst>(GEP)->isInBounds();
}
-void LLVMSetIsInBounds(LLVMValueRef GEP, LLVMBool b) {
- return unwrap<GetElementPtrInst>(GEP)->setIsInBounds(b);
+void LLVMSetIsInBounds(LLVMValueRef GEP, LLVMBool InBounds) {
+ return unwrap<GetElementPtrInst>(GEP)->setIsInBounds(InBounds);
}
/*--.. Operations on phi nodes .............................................--*/
More information about the llvm-commits
mailing list