Author: Timm Bäder Date: 2023-10-26T13:17:25+02:00 New Revision: eb737d6a7644d66ae57b0b4b8a30c6d2d2d961dc
URL: https://github.com/llvm/llvm-project/commit/eb737d6a7644d66ae57b0b4b8a30c6d2d2d961dc DIFF: https://github.com/llvm/llvm-project/commit/eb737d6a7644d66ae57b0b4b8a30c6d2d2d961dc.diff LOG: [clang][Interp][NFC] Make another Descriptor param const Added: Modified: clang/lib/AST/Interp/InterpBlock.h Removed: ################################################################################ diff --git a/clang/lib/AST/Interp/InterpBlock.h b/clang/lib/AST/Interp/InterpBlock.h index 4ab67ebb9eaafcc..9d0c4859fd06c15 100644 --- a/clang/lib/AST/Interp/InterpBlock.h +++ b/clang/lib/AST/Interp/InterpBlock.h @@ -49,7 +49,7 @@ enum PrimType : unsigned; class Block final { public: /// Creates a new block. - Block(const std::optional<unsigned> &DeclID, Descriptor *Desc, + Block(const std::optional<unsigned> &DeclID, const Descriptor *Desc, bool IsStatic = false, bool IsExtern = false) : DeclID(DeclID), IsStatic(IsStatic), IsExtern(IsExtern), Desc(Desc) {} _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits