Skip to content
This repository has been archived by the owner on Jan 1, 2023. It is now read-only.

Commit

Permalink
Properly name LLVMSetIsInBounds's argument. NFC
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268176 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
deadalnix committed May 1, 2016
1 parent 856864b commit 0bb4910
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/llvm-c/Core.h
Expand Up @@ -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);

/**
* @}
Expand Down
4 changes: 2 additions & 2 deletions lib/IR/Core.cpp
Expand Up @@ -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 .............................................--*/
Expand Down

0 comments on commit 0bb4910

Please sign in to comment.