Skip to content

Commit

Permalink
[clang][Interp][NFC] Make Record::BaseMap use const pointers
Browse files Browse the repository at this point in the history
  • Loading branch information
tbaederr committed Feb 19, 2024
1 parent 658e476 commit 6b32ba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/lib/AST/Interp/Record.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ class Record final {
VirtualBaseList VirtualBases;

/// Mapping from declarations to bases.
llvm::DenseMap<const RecordDecl *, Base *> BaseMap;
llvm::DenseMap<const RecordDecl *, const Base *> BaseMap;
/// Mapping from field identifiers to descriptors.
llvm::DenseMap<const FieldDecl *, const Field *> FieldMap;
/// Mapping from declarations to virtual bases.
Expand Down

0 comments on commit 6b32ba6

Please sign in to comment.