Author: Timm Bäder Date: 2024-02-19T11:52:13+01:00 New Revision: 6b32ba6129941b42d929366eb0477696d53ceb2b
URL: https://github.com/llvm/llvm-project/commit/6b32ba6129941b42d929366eb0477696d53ceb2b DIFF: https://github.com/llvm/llvm-project/commit/6b32ba6129941b42d929366eb0477696d53ceb2b.diff LOG: [clang][Interp][NFC] Make Record::BaseMap use const pointers Added: Modified: clang/lib/AST/Interp/Record.h Removed: ################################################################################ diff --git a/clang/lib/AST/Interp/Record.h b/clang/lib/AST/Interp/Record.h index 82294bb7dbbf96..a6bde01062531b 100644 --- a/clang/lib/AST/Interp/Record.h +++ b/clang/lib/AST/Interp/Record.h @@ -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. _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits