File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,6 @@ class Record final {
80
80
81
81
unsigned getNumFields () const { return Fields.size (); }
82
82
const Field *getField (unsigned I) const { return &Fields[I]; }
83
- Field *getField (unsigned I) { return &Fields[I]; }
84
83
85
84
using const_base_iter = BaseList::const_iterator;
86
85
llvm::iterator_range<const_base_iter> bases () const {
@@ -122,7 +121,7 @@ class Record final {
122
121
// / Mapping from declarations to bases.
123
122
llvm::DenseMap<const RecordDecl *, Base *> BaseMap;
124
123
// / Mapping from field identifiers to descriptors.
125
- llvm::DenseMap<const FieldDecl *, Field *> FieldMap;
124
+ llvm::DenseMap<const FieldDecl *, const Field *> FieldMap;
126
125
// / Mapping from declarations to virtual bases.
127
126
llvm::DenseMap<const RecordDecl *, Base *> VirtualBaseMap;
128
127
// / Size of the structure.
You can’t perform that action at this time.
0 commit comments