diff options
| author | Vitaly Buka <vitalybuka@google.com> | 2024-09-12 11:01:01 -0700 |
|---|---|---|
| committer | Vitaly Buka <vitalybuka@google.com> | 2024-09-12 11:01:01 -0700 |
| commit | c74308f2b67c73c4989a1301d5f800eb61310fdd (patch) | |
| tree | 9b3dfe001546b221ea3a95d07f7ce4eb9edc8f89 /clang/lib/AST/ByteCode/Program.h | |
| parent | 6711e8f505bb7786ffedd564f88e46eb71690eb1 (diff) | |
| parent | 885ac29910a23db923292fe3fc09d0ec105186dc (diff) | |
[𝘀𝗽𝗿] changes introduced through rebaseusers/vitalybuka/spr/main.test
Created using spr 1.3.4
[skip ci]
Diffstat (limited to 'clang/lib/AST/ByteCode/Program.h')
| -rw-r--r-- | clang/lib/AST/ByteCode/Program.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/AST/ByteCode/Program.h b/clang/lib/AST/ByteCode/Program.h index 7f69d9790fc7..bd2672a762b8 100644 --- a/clang/lib/AST/ByteCode/Program.h +++ b/clang/lib/AST/ByteCode/Program.h @@ -84,7 +84,7 @@ public: const Expr *Init = nullptr); /// Returns or creates a dummy value for unknown declarations. - std::optional<unsigned> getOrCreateDummy(const ValueDecl *VD); + std::optional<unsigned> getOrCreateDummy(const DeclTy &D); /// Creates a global and returns its index. std::optional<unsigned> createGlobal(const ValueDecl *VD, const Expr *Init); @@ -209,7 +209,7 @@ private: llvm::DenseMap<const RecordDecl *, Record *> Records; /// Dummy parameter to generate pointers from. - llvm::DenseMap<const ValueDecl *, unsigned> DummyVariables; + llvm::DenseMap<const void *, unsigned> DummyVariables; /// Creates a new descriptor. template <typename... Ts> Descriptor *allocateDescriptor(Ts &&...Args) { |
