Move ABIArgInfo into CGFunctionInfo, computed on creation.
- Still have to convert some consumers over.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63610 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/ABIInfo.h b/lib/CodeGen/ABIInfo.h
index 4b33c4e..e0917f7 100644
--- a/lib/CodeGen/ABIInfo.h
+++ b/lib/CodeGen/ABIInfo.h
@@ -10,6 +10,10 @@
#ifndef CLANG_CODEGEN_ABIINFO_H
#define CLANG_CODEGEN_ABIINFO_H
+namespace llvm {
+ class Type;
+}
+
namespace clang {
/* FIXME: All of this stuff should be part of the target interface
somehow. It is currently here because it is not clear how to factor
@@ -59,6 +63,8 @@
TypeData(TD),
UIntData(0) {}
public:
+ ABIArgInfo() : TheKind(Default), TypeData(0), UIntData(0) {}
+
static ABIArgInfo getDefault() {
return ABIArgInfo(Default);
}