Skip to content

Commit

Permalink
[clang][Interp][NFC] Fix a prototype argument name
Browse files Browse the repository at this point in the history
  • Loading branch information
tbaederr committed Feb 13, 2024
1 parent 35ef399 commit 990896a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/lib/AST/Interp/Program.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class Program final {
std::optional<unsigned> getOrCreateDummy(const ValueDecl *VD);

/// Creates a global and returns its index.
std::optional<unsigned> createGlobal(const ValueDecl *VD, const Expr *E);
std::optional<unsigned> createGlobal(const ValueDecl *VD, const Expr *Init);

/// Creates a global from a lifetime-extended temporary.
std::optional<unsigned> createGlobal(const Expr *E);
Expand Down

0 comments on commit 990896a

Please sign in to comment.