Skip to content

Commit d7fbe50

Browse files
committed
Suppress -Wunused-private-field warning in WasmTypeDefinition.h
Unreviewed stable branch commit. This appears to be an LLVM bug, since the field is definitely used. The bug does not occur on the main branch, so no sense in thinking too much about it. * Source/JavaScriptCore/wasm/WasmTypeDefinition.h:
1 parent 2569e17 commit d7fbe50

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Source/JavaScriptCore/wasm/WasmTypeDefinition.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,9 @@ class RTT_ALIGNMENT RTT : public ThreadSafeRefCounted<RTT> {
773773
// Payload starts past end of this object.
774774
const RTT** payload() { return static_cast<const RTT**>(static_cast<void*>(this + 1)); }
775775

776+
IGNORE_WARNINGS_BEGIN("unused-private-field")
776777
RTTKind m_kind;
778+
IGNORE_WARNINGS_END
777779
DisplayCount m_displaySize;
778780
};
779781

0 commit comments

Comments
 (0)