diff --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h index d443d897c977..7ec8b8cffff4 100644 --- a/llvm/include/llvm-c/Core.h +++ b/llvm/include/llvm-c/Core.h @@ -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); /** * @} diff --git a/llvm/lib/IR/Core.cpp b/llvm/lib/IR/Core.cpp index 416687b5e42e..d69e8d59d012 100644 --- a/llvm/lib/IR/Core.cpp +++ b/llvm/lib/IR/Core.cpp @@ -2215,8 +2215,8 @@ LLVMBool LLVMIsInBounds(LLVMValueRef GEP) { return unwrap(GEP)->isInBounds(); } -void LLVMSetIsInBounds(LLVMValueRef GEP, LLVMBool b) { - return unwrap(GEP)->setIsInBounds(b); +void LLVMSetIsInBounds(LLVMValueRef GEP, LLVMBool InBounds) { + return unwrap(GEP)->setIsInBounds(InBounds); } /*--.. Operations on phi nodes .............................................--*/