We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35ef399 commit 990896aCopy full SHA for 990896a
clang/lib/AST/Interp/Program.h
@@ -86,7 +86,7 @@ class Program final {
86
std::optional<unsigned> getOrCreateDummy(const ValueDecl *VD);
87
88
/// Creates a global and returns its index.
89
- std::optional<unsigned> createGlobal(const ValueDecl *VD, const Expr *E);
+ std::optional<unsigned> createGlobal(const ValueDecl *VD, const Expr *Init);
90
91
/// Creates a global from a lifetime-extended temporary.
92
std::optional<unsigned> createGlobal(const Expr *E);
0 commit comments