@@ -74,7 +74,7 @@ namespace clang {
74
74
bool BoolData1;
75
75
76
76
ABIArgInfo (Kind K, const llvm::Type *TD=0 ,
77
- unsigned UI=0 , bool B0 = false , bool B1 = false )
77
+ unsigned UI=0 , bool B0 = false , bool B1 = false )
78
78
: TheKind(K), TypeData(TD), UIntData(UI), BoolData0(B0), BoolData1(B1) {}
79
79
80
80
public:
@@ -107,7 +107,7 @@ namespace clang {
107
107
bool canHaveCoerceToType () const {
108
108
return TheKind == Direct || TheKind == Extend;
109
109
}
110
-
110
+
111
111
// Direct/Extend accessors
112
112
unsigned getDirectOffset () const {
113
113
assert ((isDirect () || isExtend ()) && " Not a direct or extend kind" );
@@ -117,12 +117,12 @@ namespace clang {
117
117
assert (canHaveCoerceToType () && " Invalid kind!" );
118
118
return TypeData;
119
119
}
120
-
120
+
121
121
void setCoerceToType (const llvm::Type *T) {
122
122
assert (canHaveCoerceToType () && " Invalid kind!" );
123
123
TypeData = T;
124
124
}
125
-
125
+
126
126
// Indirect accessors
127
127
unsigned getIndirectAlign () const {
128
128
assert (TheKind == Indirect && " Invalid kind!" );
@@ -138,7 +138,7 @@ namespace clang {
138
138
assert (TheKind == Indirect && " Invalid kind!" );
139
139
return BoolData1;
140
140
}
141
-
141
+
142
142
void dump () const ;
143
143
};
144
144
@@ -147,10 +147,10 @@ namespace clang {
147
147
class ABIInfo {
148
148
public:
149
149
CodeGen::CodeGenTypes &CGT;
150
-
150
+
151
151
ABIInfo (CodeGen::CodeGenTypes &cgt) : CGT(cgt) {}
152
152
virtual ~ABIInfo ();
153
-
153
+
154
154
ASTContext &getContext () const ;
155
155
llvm::LLVMContext &getVMContext () const ;
156
156
const llvm::TargetData &getTargetData () const ;
0 commit comments