Refactor parameter attribute handling:
- Add CGCall.h for dealing with ABI issues related to calls.
- Add CGFunctionInfo and CGCallInfo for capturing ABI relevant
information about functions and calls.
- Isolate LLVM parameter attribute handling inside CGCall.cpp
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55963 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h
index b388153..c38171a 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/lib/CodeGen/CodeGenFunction.h
@@ -24,6 +24,7 @@
#include <vector>
#include <map>
+#include "CGCall.h"
#include "CGValue.h"
namespace llvm {
@@ -307,10 +308,6 @@
// Scalar Expression Emission
//===--------------------------------------------------------------------===//
- /// CallArgList - Type for representing both the value and type of
- /// arguments in a call.
- typedef llvm::SmallVector<std::pair<llvm::Value*, QualType>, 16> CallArgList;
-
/// EmitCallArg - Emit the given expression and append the result
/// onto the given Args list.
void EmitCallArg(const Expr *E, CallArgList &Args);