forked from llvm/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BuildLibCalls] Use getPtrTy instead of getInt8PtrTy
Stop using getInt8PtrTy() when referring to char* types when building libcalls. As in many other files we can simply use getPtrTy() instead, as part of transition into opaque pointers. This patch is using thing like Type *CharPtrTy = B.getPtrTy(); Type *VoidPtrTy = B.getPtrTy(); in several places, to give the pointer type a name. The idea is to make the mapping to the libc function prototypes clear.
- Loading branch information
Showing
1 changed file
with
62 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters