aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenTypes.h
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-04-03 22:48:58 +0000
committerAnders Carlsson <andersca@mac.com>2009-04-03 22:48:58 +0000
commitf6f8ae561ef78af169cbd2c067cae7ee4b2044e9 (patch)
treee3fb6e4aacc7680087d3c646e77ec36babda040f /lib/CodeGen/CodeGenTypes.h
parentbf4a6767a8fd4f81df93c55f88b1b4b7142a04d4 (diff)
Add a getFunctionInfo that takes a CXXMethodDecl.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68411 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenTypes.h')
-rw-r--r--lib/CodeGen/CodeGenTypes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenTypes.h b/lib/CodeGen/CodeGenTypes.h
index 813ff8b2a2..33417e5f01 100644
--- a/lib/CodeGen/CodeGenTypes.h
+++ b/lib/CodeGen/CodeGenTypes.h
@@ -32,6 +32,7 @@ namespace llvm {
namespace clang {
class ABIInfo;
class ASTContext;
+ class CXXMethodDecl;
class FieldDecl;
class FunctionProtoType;
class ObjCInterfaceDecl;
@@ -172,6 +173,7 @@ public:
const CGFunctionInfo &getFunctionInfo(const FunctionNoProtoType *FTNP);
const CGFunctionInfo &getFunctionInfo(const FunctionProtoType *FTP);
const CGFunctionInfo &getFunctionInfo(const FunctionDecl *FD);
+ const CGFunctionInfo &getFunctionInfo(const CXXMethodDecl *MD);
const CGFunctionInfo &getFunctionInfo(const ObjCMethodDecl *MD);
const CGFunctionInfo &getFunctionInfo(QualType ResTy,
const CallArgList &Args);