aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenTypes.h
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-04-06 18:05:26 +0000
committerAnders Carlsson <andersca@mac.com>2009-04-06 18:05:26 +0000
commit5529b24500a9cdeb45e9d4482ceb54fc39a7471e (patch)
tree470236166930f929a5c8f064dea9983669cc2318 /lib/CodeGen/CodeGenTypes.h
parent6c247e38e59caacf4a84a16c621fd470261998c9 (diff)
Add a getFunctionInfo that takes a BlockPointerType.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68452 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenTypes.h')
-rw-r--r--lib/CodeGen/CodeGenTypes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenTypes.h b/lib/CodeGen/CodeGenTypes.h
index 33417e5f01..b09531f5ca 100644
--- a/lib/CodeGen/CodeGenTypes.h
+++ b/lib/CodeGen/CodeGenTypes.h
@@ -172,11 +172,14 @@ public:
const CGFunctionInfo &getFunctionInfo(const FunctionNoProtoType *FTNP);
const CGFunctionInfo &getFunctionInfo(const FunctionProtoType *FTP);
+ const CGFunctionInfo &getFunctionInfo(const BlockPointerType *BPT);
const CGFunctionInfo &getFunctionInfo(const FunctionDecl *FD);
const CGFunctionInfo &getFunctionInfo(const CXXMethodDecl *MD);
const CGFunctionInfo &getFunctionInfo(const ObjCMethodDecl *MD);
+//private:
const CGFunctionInfo &getFunctionInfo(QualType ResTy,
const CallArgList &Args);
+public:
const CGFunctionInfo &getFunctionInfo(QualType ResTy,
const FunctionArgList &Args);