Skip to content

Commit eb737d6

Browse files
committed
[clang][Interp][NFC] Make another Descriptor param const
1 parent b47ff36 commit eb737d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/AST/Interp/InterpBlock.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ enum PrimType : unsigned;
4949
class Block final {
5050
public:
5151
/// Creates a new block.
52-
Block(const std::optional<unsigned> &DeclID, Descriptor *Desc,
52+
Block(const std::optional<unsigned> &DeclID, const Descriptor *Desc,
5353
bool IsStatic = false, bool IsExtern = false)
5454
: DeclID(DeclID), IsStatic(IsStatic), IsExtern(IsExtern), Desc(Desc) {}
5555

0 commit comments

Comments
 (0)