llvm-c: Add LLVMIntPtrType{,ForAS}InContext
authorAnders Waldenborg <anders@0x63.nu>
Thu, 17 Oct 2013 18:51:01 +0000 (18:51 +0000)
committerAnders Waldenborg <anders@0x63.nu>
Thu, 17 Oct 2013 18:51:01 +0000 (18:51 +0000)
commitf4094e5ed7387b29eda8d9a7865f6b5dfd47ce82
tree3ab6f70e35a6f95a932590488beb556de5666a7b
parent4d1a9256752048f34c6091cc145fce9f89d20985
llvm-c: Add LLVMIntPtrType{,ForAS}InContext

All of the Core API functions have versions which accept explicit context, in
addition to ones which work on global context. This commit adds functions
which accept explicit context to the Target API for consistency.

Patch by Peter Zotov

Differential Revision: http://llvm-reviews.chandlerc.com/D1912

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192913 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm-c/Target.h
lib/Target/Target.cpp