Skip to content

Commit 0e6542d

Browse files
Merge pull request #7357 from adrian-prantl/refactor-remove-ast2
Remove unnecessary include (NFC)
2 parents 4b5bbd2 + 6f02979 commit 0e6542d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lldb/source/Core/ValueObjectDynamicValue.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@
2222
#include "lldb/Utility/Status.h"
2323
#include "lldb/lldb-types.h"
2424

25-
#ifdef LLDB_ENABLE_SWIFT
26-
#include "Plugins/TypeSystem/Swift/SwiftASTContext.h"
27-
#endif // LLDB_ENABLE_SWIFT
28-
2925
#include <cstring>
3026
namespace lldb_private {
3127
class Declaration;
@@ -455,7 +451,7 @@ bool ValueObjectDynamicValue::DynamicValueTypeInfoNeedsUpdate() {
455451

456452
if (!scratch_ctx || !cached_ctx)
457453
return true;
458-
return cached_ctx.GetSharedPointer().get() != scratch_ctx->get();
454+
return (void*)cached_ctx.GetSharedPointer().get() != (void*)scratch_ctx->get();
459455
#else // !LLDB_ENABLE_SWIFT
460456
return false;
461457
#endif // LLDB_ENABLE_SWIFT

0 commit comments

Comments
 (0)