We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b47ff36 commit eb737d6Copy full SHA for eb737d6
clang/lib/AST/Interp/InterpBlock.h
@@ -49,7 +49,7 @@ enum PrimType : unsigned;
49
class Block final {
50
public:
51
/// Creates a new block.
52
- Block(const std::optional<unsigned> &DeclID, Descriptor *Desc,
+ Block(const std::optional<unsigned> &DeclID, const Descriptor *Desc,
53
bool IsStatic = false, bool IsExtern = false)
54
: DeclID(DeclID), IsStatic(IsStatic), IsExtern(IsExtern), Desc(Desc) {}
55
0 commit comments