Skip to content

Commit 6b32ba6

Browse files
committed
[clang][Interp][NFC] Make Record::BaseMap use const pointers
1 parent 658e476 commit 6b32ba6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/AST/Interp/Record.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ class Record final {
119119
VirtualBaseList VirtualBases;
120120

121121
/// Mapping from declarations to bases.
122-
llvm::DenseMap<const RecordDecl *, Base *> BaseMap;
122+
llvm::DenseMap<const RecordDecl *, const Base *> BaseMap;
123123
/// Mapping from field identifiers to descriptors.
124124
llvm::DenseMap<const FieldDecl *, const Field *> FieldMap;
125125
/// Mapping from declarations to virtual bases.

0 commit comments

Comments
 (0)