Skip to content

Commit

Permalink
[clang][Interp][NFC] Make another Descriptor param const
Browse files Browse the repository at this point in the history
  • Loading branch information
tbaederr committed Oct 26, 2023
1 parent b47ff36 commit eb737d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/lib/AST/Interp/InterpBlock.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) {}

Expand Down

0 comments on commit eb737d6

Please sign in to comment.