File tree 3 files changed +267
-248
lines changed
3 files changed +267
-248
lines changed Original file line number Diff line number Diff line change @@ -165,9 +165,11 @@ class DataLayout {
165
165
// / Internal helper method that returns requested alignment for type.
166
166
Align getAlignment (Type *Ty, bool abi_or_pref) const ;
167
167
168
- // / Attempts to parse a target data specification string and reports an error
169
- // / if the string is malformed.
170
- Error parseSpecifier (StringRef Desc);
168
+ // / Attempts to parse a single specification.
169
+ Error parseSpecification (StringRef Specification);
170
+
171
+ // / Attempts to parse a data layout string.
172
+ Error parseLayoutString (StringRef LayoutString);
171
173
172
174
public:
173
175
// / Constructs a DataLayout with default values.
@@ -188,7 +190,7 @@ class DataLayout {
188
190
189
191
// / Parse a data layout string and return the layout. Return an error
190
192
// / description on failure.
191
- static Expected<DataLayout> parse (StringRef LayoutDescription );
193
+ static Expected<DataLayout> parse (StringRef LayoutString );
192
194
193
195
// / Layout endianness...
194
196
bool isLittleEndian () const { return !BigEndian; }
You can’t perform that action at this time.
0 commit comments