OSDN Git Service

Properly name LLVMSetIsInBounds's argument. NFC
authorAmaury Sechet <deadalnix@gmail.com>
Sun, 1 May 2016 02:23:14 +0000 (02:23 +0000)
committerAmaury Sechet <deadalnix@gmail.com>
Sun, 1 May 2016 02:23:14 +0000 (02:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268176 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm-c/Core.h
lib/IR/Core.cpp

index d443d89..7ec8b8c 100644 (file)
@@ -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);
 
 /**
  * @}
index 416687b..d69e8d5 100644 (file)
@@ -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 .............................................--*/