diff --git a/clang/lib/AST/Interp/InterpBlock.h b/clang/lib/AST/Interp/InterpBlock.h index 4ab67ebb9eaaf..9d0c4859fd06c 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 &DeclID, Descriptor *Desc, + Block(const std::optional &DeclID, const Descriptor *Desc, bool IsStatic = false, bool IsExtern = false) : DeclID(DeclID), IsStatic(IsStatic), IsExtern(IsExtern), Desc(Desc) {}