[clang] 4a9b727 - [clang][Interp][NFC] Make InitMap final

Timm Bäder via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 25 23:55:32 PDT 2022


Author: Timm Bäder
Date: 2022-10-26T08:49:20+02:00
New Revision: 4a9b7273260d2ed071737e48210159bc47347fed

URL: https://github.com/llvm/llvm-project/commit/4a9b7273260d2ed071737e48210159bc47347fed
DIFF: https://github.com/llvm/llvm-project/commit/4a9b7273260d2ed071737e48210159bc47347fed.diff

LOG: [clang][Interp][NFC] Make InitMap final

Added: 
    

Modified: 
    clang/lib/AST/Interp/Descriptor.h

Removed: 
    


################################################################################
diff  --git a/clang/lib/AST/Interp/Descriptor.h b/clang/lib/AST/Interp/Descriptor.h
index 823ecd144e7c..dacec6be89c7 100644
--- a/clang/lib/AST/Interp/Descriptor.h
+++ b/clang/lib/AST/Interp/Descriptor.h
@@ -186,7 +186,7 @@ struct InlineDescriptor {
 /// A pointer to this is embedded at the end of all primitive arrays.
 /// If the map was not yet created and nothing was initialized, the pointer to
 /// this structure is 0. If the object was fully initialized, the pointer is -1.
-struct InitMap {
+struct InitMap final {
 private:
   /// Type packing bits.
   using T = uint64_t;


        


More information about the cfe-commits mailing list