summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGCall.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/CodeGen/CGCall.h')
-rw-r--r--clang/lib/CodeGen/CGCall.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CGCall.h b/clang/lib/CodeGen/CGCall.h
index c51c1d0565d..ffb9baaebb5 100644
--- a/clang/lib/CodeGen/CGCall.h
+++ b/clang/lib/CodeGen/CGCall.h
@@ -54,18 +54,18 @@ namespace CodeGen {
/// CGFunctionInfo - Class to encapsulate the information about a
/// function definition.
class CGFunctionInfo {
- /// TheDecl - The decl we are storing information for. This is
- /// either a Function or ObjCMethod Decl.
- const Decl *TheDecl;
+ bool IsVariadic;
llvm::SmallVector<QualType, 16> ArgTypes;
public:
+ CGFunctionInfo(const FunctionTypeNoProto *FTNP);
+ CGFunctionInfo(const FunctionTypeProto *FTP);
CGFunctionInfo(const FunctionDecl *FD);
CGFunctionInfo(const ObjCMethodDecl *MD,
const ASTContext &Context);
- const Decl* getDecl() const { return TheDecl; }
+ bool isVariadic() const { return IsVariadic; }
ArgTypeIterator argtypes_begin() const;
ArgTypeIterator argtypes_end() const;
OpenPOWER on IntegriCloud