[clang] 990896a - [clang][Interp][NFC] Fix a prototype argument name
Timm Bäder via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 13 04:34:39 PST 2024
Author: Timm Bäder
Date: 2024-02-13T13:34:22+01:00
New Revision: 990896a591b0b042cdf552900b92016ed253970d
URL: https://github.com/llvm/llvm-project/commit/990896a591b0b042cdf552900b92016ed253970d
DIFF: https://github.com/llvm/llvm-project/commit/990896a591b0b042cdf552900b92016ed253970d.diff
LOG: [clang][Interp][NFC] Fix a prototype argument name
Added:
Modified:
clang/lib/AST/Interp/Program.h
Removed:
################################################################################
diff --git a/clang/lib/AST/Interp/Program.h b/clang/lib/AST/Interp/Program.h
index 17342680102cff..364a63dbf477a7 100644
--- a/clang/lib/AST/Interp/Program.h
+++ b/clang/lib/AST/Interp/Program.h
@@ -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);
More information about the cfe-commits
mailing list